aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlee14 <Alee14498@gmail.com>2017-08-13 23:08:55 -0400
committerAlee14 <Alee14498@gmail.com>2017-08-13 23:08:55 -0400
commit6738f950a07cf729c91d7c86d9005fe2fe8da6cb (patch)
treeb1efb220a5f2e33985f52e14cb934f789fec1efa
parent37808b2a5bc6e317c11141ea6d9509447fbd5d19 (diff)
downloadAleeBot-6738f950a07cf729c91d7c86d9005fe2fe8da6cb.tar.gz
AleeBot-6738f950a07cf729c91d7c86d9005fe2fe8da6cb.tar.bz2
AleeBot-6738f950a07cf729c91d7c86d9005fe2fe8da6cb.zip
Fixing ab:attack
-rw-r--r--aleebot.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/aleebot.js b/aleebot.js
index 5d4ee78..798e828 100644
--- a/aleebot.js
+++ b/aleebot.js
@@ -231,9 +231,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);