Sfoglia il codice sorgente

Fix sending dead chat reply

ghorsington 5 anni fa
parent
commit
497d221e64
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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;