From 87c746aae5e1d825117d584d3d2d260778623707 Mon Sep 17 00:00:00 2001 From: Unknown Date: Sat, 24 Feb 2018 10:32:46 -0500 Subject: Say --- commands/say.js | 39 +++++++++++++++++++-------------------- 1 file changed, 19 insertions(+), 20 deletions(-) diff --git a/commands/say.js b/commands/say.js index 83bd701..8409ec7 100644 --- a/commands/say.js +++ b/commands/say.js @@ -1,21 +1,20 @@ exports.run = async (bot, msg, args) => { - if (!['242775871059001344', '247221105515823104', '236279900728721409'].includes(msg.author.id)) { - msg.reply('Nope! You need the person who created this bot to use this command.'); - } - else { - message.channel.sendMessage(args.join(" ")); - message.delete(); - } - }; - - exports.conf = { - aliases: [], - guildOnly: true, - }; - - exports.help = { - name: 'say', - description: 'Control on what the bot says.', - category: 'Owners Only', - }; - \ No newline at end of file + if (!['242775871059001344', '247221105515823104', '236279900728721409'].includes(msg.author.id)) { + msg.reply('Nope! You need the person who created this bot to use this command.'); + } + else { + msg.channel.sendMessage(args.join(' ')); + msg.delete(); + } +}; + +exports.conf = { + aliases: [], + guildOnly: true, +}; + +exports.help = { + name: 'say', + description: 'Control on what the bot says.', + category: 'Owners Only', +}; -- cgit v1.2.3