aboutsummaryrefslogtreecommitdiff
path: root/aleebot.js
diff options
context:
space:
mode:
Diffstat (limited to 'aleebot.js')
-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);