aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlee14 <Alee14498@gmail.com>2017-08-12 11:49:00 -0400
committerGitHub <noreply@github.com>2017-08-12 11:49:00 -0400
commit1dec03ead66e619605cd1459ab3fafa6cf344b43 (patch)
tree34a6873cabf4cab3396a4fe97f6b292da1ce3ba7
parent755e62901216b8bfb7cbe1078457504c324068a6 (diff)
downloadAleeBot-1dec03ead66e619605cd1459ab3fafa6cf344b43.tar.gz
AleeBot-1dec03ead66e619605cd1459ab3fafa6cf344b43.tar.bz2
AleeBot-1dec03ead66e619605cd1459ab3fafa6cf344b43.zip
Update aleebot.js
-rw-r--r--aleebot.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/aleebot.js b/aleebot.js
index 1d39616..33ef9a9 100644
--- a/aleebot.js
+++ b/aleebot.js
@@ -258,6 +258,7 @@ commandProcessed = true;
}
if(command === 'say'){
+ if(message.author.id !== config.ownerID) return;
message.channel.sendMessage(args.join(" "));
message.delete();