aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--aleebot.js11
1 files changed, 3 insertions, 8 deletions
diff --git a/aleebot.js b/aleebot.js
index f659cab..5bdf1dd 100644
--- a/aleebot.js
+++ b/aleebot.js
@@ -256,17 +256,12 @@ commandProcessed = true;
}
}
-
+// Owner is only allow to do this
if(command === 'say'){
- if(message.author.id !== config.ownerID){
-
- } else {
- message.reply("Hey! You're not Alee14!")
- }
- return;
+ if(message.author.id !== config.ownerID) return;
message.channel.sendMessage(args.join(" "));
message.delete();
-
+
}
if(command === 'eval'){
if(message.author.id !== config.ownerID) return;