aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlee14 <Alee14498@gmail.com>2017-08-13 02:53:10 -0400
committerAlee14 <Alee14498@gmail.com>2017-08-13 02:53:10 -0400
commit95dee3ed9d2abd88baa6f43bf3cced66da8f6c28 (patch)
tree79c15f94d285f519960a884e0e10fcbaac88aa39
parent22a75c69e7f71a2e0b087ea5ee4ce28aa6698099 (diff)
downloadAleeBot-95dee3ed9d2abd88baa6f43bf3cced66da8f6c28.tar.gz
AleeBot-95dee3ed9d2abd88baa6f43bf3cced66da8f6c28.tar.bz2
AleeBot-95dee3ed9d2abd88baa6f43bf3cced66da8f6c28.zip
Fixes (Again)
-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);