Преглед изворни кода

Fix sending dead chat reply

ghorsington пре 5 година
родитељ
комит
497d221e64
1 измењених фајлова са 1 додато и 1 уклоњено
  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;