aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {