aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlee14 <Alee14498@gmail.com>2017-08-12 12:16:35 -0400
committerGitHub <noreply@github.com>2017-08-12 12:16:35 -0400
commit1d0714411c500a0d96bf062e2483212ae06e4a55 (patch)
treea642ef33c634f6a17b6425313d91f69b7c8b4e32
parent1dec03ead66e619605cd1459ab3fafa6cf344b43 (diff)
downloadAleeBot-1d0714411c500a0d96bf062e2483212ae06e4a55.tar.gz
AleeBot-1d0714411c500a0d96bf062e2483212ae06e4a55.tar.bz2
AleeBot-1d0714411c500a0d96bf062e2483212ae06e4a55.zip
Update aleebot.js
-rw-r--r--aleebot.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/aleebot.js b/aleebot.js
index 33ef9a9..c4ae5d5 100644
--- a/aleebot.js
+++ b/aleebot.js
@@ -258,7 +258,9 @@ commandProcessed = true;
}
if(command === 'say'){
- if(message.author.id !== config.ownerID) return;
+ if(message.author.id !== config.ownerID)
+ message.reply('Hey! Your not Alee14!')
+ return;
message.channel.sendMessage(args.join(" "));
message.delete();