summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlee14 <Alee14498@gmail.com>2017-08-13 02:50:33 -0400
committerAlee14 <Alee14498@gmail.com>2017-08-13 02:50:33 -0400
commit22a75c69e7f71a2e0b087ea5ee4ce28aa6698099 (patch)
tree579a323f1911d9644f2620a12870584dee195b03
parentb1b0eb12427546303bec6b5099f52f0c758b8191 (diff)
downloadAleeBot-22a75c69e7f71a2e0b087ea5ee4ce28aa6698099.tar.gz
AleeBot-22a75c69e7f71a2e0b087ea5ee4ce28aa6698099.tar.bz2
AleeBot-22a75c69e7f71a2e0b087ea5ee4ce28aa6698099.zip
Fix
-rw-r--r--aleebot.js4
1 files changed, 2 insertions, 2 deletions
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);