From 8f10ba0f3f9f6495ee5fc63720e3a223b6b509a0 Mon Sep 17 00:00:00 2001 From: Alee14 Date: Sun, 13 Aug 2017 02:39:32 -0400 Subject: Thanks to Blake for helping me fix the ab:attack command --- aleebot.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/aleebot.js b/aleebot.js index 30916e2..bafc7c3 100644 --- a/aleebot.js +++ b/aleebot.js @@ -216,13 +216,12 @@ commandProcessed = true; if(command === 'attack'){ //This command was ported from AstralMod - abattack = command.substr(7); if (command.indexOf("@everyone") == -1) { if (command.indexOf("@here") == -1) { - message.channel.send("<@" + message.author.id + "> :right_facing_fist: " + abattack); + message.channel.send("<@" + message.author.id + "> :right_facing_fist: " + args); } else { -- cgit v1.2.3