From d9eab29ab1f4e3a0ccbc299c8a2c0c6624d2f6cc Mon Sep 17 00:00:00 2001 From: Alee14 Date: Tue, 3 Oct 2017 18:00:22 -0400 Subject: Minor updates on ab:say (#7) --- commands/say.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'commands/say.js') 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 = { -- cgit v1.2.3