diff options
Diffstat (limited to 'commands/Owners Only/testingcredits.js')
| -rw-r--r-- | commands/Owners Only/testingcredits.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/commands/Owners Only/testingcredits.js b/commands/Owners Only/testingcredits.js index bee93b2..85cc859 100644 --- a/commands/Owners Only/testingcredits.js +++ b/commands/Owners Only/testingcredits.js @@ -8,8 +8,6 @@ * *************************************/ exports.run = async (bot, msg) => { - if (!['242775871059001344', '247221105515823104', '236279900728721409'].includes(msg.author.id)) return msg.reply('Nope! You need the person who created this bot to use this command.'); - let user; if (!msg.mentions.members.first()) { user = msg.author; @@ -22,6 +20,11 @@ exports.run = async (bot, msg) => { msg.channel.send('Added 1000 credits'); }; +exports.checkPermission = (bot, member) => { + if (!['242775871059001344', '247221105515823104', '236279900728721409'].includes(member.id)) return false; + return true; +} + exports.conf = { aliases: [], guildOnly: true, |
