From d63d2d1296c4981321149045350d208974daa430 Mon Sep 17 00:00:00 2001 From: Unknown Date: Sun, 24 Sep 2017 15:39:12 -0400 Subject: Minor updates on ab:say --- commands/eval.js | 10 +++++----- commands/say.js | 6 ++++-- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/commands/eval.js b/commands/eval.js index 2716cb8..a2cdbb4 100644 --- a/commands/eval.js +++ b/commands/eval.js @@ -51,11 +51,11 @@ const argseval = message.content.split(" ").slice(1); { name: '**Output**', value: `\`\`\`js\n${clean(evaled)}\n\`\`\`` - } - ], - } - }) - } + } + ], + } + }) + } } exports.conf = { 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