From 22a75c69e7f71a2e0b087ea5ee4ce28aa6698099 Mon Sep 17 00:00:00 2001 From: Alee14 Date: Sun, 13 Aug 2017 02:50:33 -0400 Subject: Fix --- aleebot.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'aleebot.js') diff --git a/aleebot.js b/aleebot.js index 6f482cc..bafc7c3 100644 --- a/aleebot.js +++ b/aleebot.js @@ -217,9 +217,9 @@ commandProcessed = true; if(command === 'attack'){ //This command was ported from AstralMod - if (command.args.indexOf("@everyone") == -1) { + if (command.indexOf("@everyone") == -1) { - if (command.args.indexOf("@here") == -1) { + if (command.indexOf("@here") == -1) { message.channel.send("<@" + message.author.id + "> :right_facing_fist: " + args); -- cgit v1.2.3