diff options
| author | Alee14 <Alee14498@gmail.com> | 2017-10-03 18:00:22 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-03 18:00:22 -0400 |
| commit | d9eab29ab1f4e3a0ccbc299c8a2c0c6624d2f6cc (patch) | |
| tree | 081ca559e68beb0c70361aebea05e0b3a14fcc7f /commands/say.js | |
| parent | 4840622368fdabb07ea53386fbe6ec08074d5bca (diff) | |
| download | AleeBot-d9eab29ab1f4e3a0ccbc299c8a2c0c6624d2f6cc.tar.gz AleeBot-d9eab29ab1f4e3a0ccbc299c8a2c0c6624d2f6cc.tar.bz2 AleeBot-d9eab29ab1f4e3a0ccbc299c8a2c0c6624d2f6cc.zip | |
Minor updates on ab:say (#7)
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 = { |
