aboutsummaryrefslogtreecommitdiff
path: root/aleebot.js
diff options
context:
space:
mode:
authorAlee14 <Alee14498@gmail.com>2017-08-13 02:39:32 -0400
committerAlee14 <Alee14498@gmail.com>2017-08-13 02:39:32 -0400
commit8f10ba0f3f9f6495ee5fc63720e3a223b6b509a0 (patch)
tree579a323f1911d9644f2620a12870584dee195b03 /aleebot.js
parent3dadd14aad46e68a1ec320b036403bb32e9a9b64 (diff)
downloadAleeBot-8f10ba0f3f9f6495ee5fc63720e3a223b6b509a0.tar.gz
AleeBot-8f10ba0f3f9f6495ee5fc63720e3a223b6b509a0.tar.bz2
AleeBot-8f10ba0f3f9f6495ee5fc63720e3a223b6b509a0.zip
Thanks to Blake for helping me fix the ab:attack command
Diffstat (limited to 'aleebot.js')
-rw-r--r--aleebot.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/aleebot.js b/aleebot.js
index 30916e2..bafc7c3 100644
--- a/aleebot.js
+++ b/aleebot.js
@@ -216,13 +216,12 @@ commandProcessed = true;
if(command === 'attack'){
//This command was ported from AstralMod
- abattack = command.substr(7);
if (command.indexOf("@everyone") == -1) {
if (command.indexOf("@here") == -1) {
- message.channel.send("<@" + message.author.id + "> :right_facing_fist: " + abattack);
+ message.channel.send("<@" + message.author.id + "> :right_facing_fist: " + args);
} else {