diff options
Diffstat (limited to 'commands/Owners Only/say.js')
| -rw-r--r-- | commands/Owners Only/say.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/commands/Owners Only/say.js b/commands/Owners Only/say.js index 3085d53..ace2874 100644 --- a/commands/Owners Only/say.js +++ b/commands/Owners Only/say.js @@ -8,15 +8,15 @@ * *************************************/ exports.run = async (bot, msg, args) => { - if (!['242775871059001344', '247221105515823104', '236279900728721409', '269516487566426112'].includes(msg.author.id)) { - msg.reply('Nope! You need the person who created this bot to use this command.'); - } - else { - msg.channel.send(args.join(' ')); - msg.delete(); - } + msg.channel.send(args.join(' ')); + msg.delete(); }; +exports.checkPermission = (bot, member) => { + if (!['242775871059001344', '247221105515823104', '236279900728721409'].includes(member.id)) return false; + return true; +} + exports.conf = { aliases: [], guildOnly: true, |
