aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlee14 <Alee14498@gmail.com>2017-08-12 14:26:00 -0400
committerGitHub <noreply@github.com>2017-08-12 14:26:00 -0400
commit4600cc920fda020cbef37f73a32e57077319943d (patch)
treef195926a4d6c108e3ecedb88420b3e5f54537bd6
parent9e25fcf5442dee18ef2812e7f27a4f24c6fd2c03 (diff)
downloadAleeBot-4600cc920fda020cbef37f73a32e57077319943d.tar.gz
AleeBot-4600cc920fda020cbef37f73a32e57077319943d.tar.bz2
AleeBot-4600cc920fda020cbef37f73a32e57077319943d.zip
Update aleebot.js
-rw-r--r--aleebot.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/aleebot.js b/aleebot.js
index 21f475a..f659cab 100644
--- a/aleebot.js
+++ b/aleebot.js
@@ -258,7 +258,7 @@ commandProcessed = true;
}
if(command === 'say'){
- if(message.author.id == 242775871059001344242775871059001344){
+ if(message.author.id !== config.ownerID){
} else {
message.reply("Hey! You're not Alee14!")
@@ -269,7 +269,7 @@ commandProcessed = true;
}
if(command === 'eval'){
- if(message.author.id == 242775871059001344242775871059001344) return;
+ if(message.author.id !== config.ownerID) return;
try {
const code = args.join(" ");
let evaled = eval(code);