aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlee14 <Alee14498@gmail.com>2017-08-13 02:45:19 -0400
committerAlee14 <Alee14498@gmail.com>2017-08-13 02:45:19 -0400
commitb1b0eb12427546303bec6b5099f52f0c758b8191 (patch)
tree79c15f94d285f519960a884e0e10fcbaac88aa39
parent8f10ba0f3f9f6495ee5fc63720e3a223b6b509a0 (diff)
downloadAleeBot-b1b0eb12427546303bec6b5099f52f0c758b8191.tar.gz
AleeBot-b1b0eb12427546303bec6b5099f52f0c758b8191.tar.bz2
AleeBot-b1b0eb12427546303bec6b5099f52f0c758b8191.zip
Bug fixes
-rw-r--r--aleebot.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/aleebot.js b/aleebot.js
index bafc7c3..6f482cc 100644
--- a/aleebot.js
+++ b/aleebot.js
@@ -217,9 +217,9 @@ commandProcessed = true;
if(command === 'attack'){
//This command was ported from AstralMod
- if (command.indexOf("@everyone") == -1) {
+ if (command.args.indexOf("@everyone") == -1) {
- if (command.indexOf("@here") == -1) {
+ if (command.args.indexOf("@here") == -1) {
message.channel.send("<@" + message.author.id + "> :right_facing_fist: " + args);