diff options
| author | Unknown <Alee14498@gmail.com> | 2017-09-24 15:39:12 -0400 |
|---|---|---|
| committer | Unknown <Alee14498@gmail.com> | 2017-09-24 15:39:12 -0400 |
| commit | d63d2d1296c4981321149045350d208974daa430 (patch) | |
| tree | 6928dd87a1e36dacd34eafd4d96dd7c0579a7184 /commands/say.js | |
| parent | de3c80eccc8d09bc63c3694afdeba40795dd6539 (diff) | |
| download | AleeBot-d63d2d1296c4981321149045350d208974daa430.tar.gz AleeBot-d63d2d1296c4981321149045350d208974daa430.tar.bz2 AleeBot-d63d2d1296c4981321149045350d208974daa430.zip | |
Minor updates on ab:say
Diffstat (limited to 'commands/say.js')
| -rw-r--r-- | commands/say.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/commands/say.js b/commands/say.js index f32544b..fa9022f 100644 --- a/commands/say.js +++ b/commands/say.js @@ -1,9 +1,11 @@ const Discord = require('discord.js'); exports.run = (client, message, args, config) => { - if(message.author.id !== config.ownerID) return; + if(message.author.id !== config.ownerID) + message.reply(":no_entry: **NOPE!** Sorry buddy Alee is only allow to say this command.") + else { message.channel.sendMessage(args.join(" ")); message.delete(); - + } } exports.conf = { |
