Selaa lähdekoodia

Fix sending dead chat reply

ghorsington 5 vuotta sitten
vanhempi
commit
497d221e64
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      bot/src/commands/dead_chat.ts

+ 1 - 1
bot/src/commands/dead_chat.ts

@@ -29,7 +29,7 @@ export default {
         if(reply.length == 0)
             return false;
 
-        msg.channel.send(reply[0]);
+        msg.channel.send(reply[0].message);
         return true;
     }
 } as ICommand;