diff options
Diffstat (limited to 'commands/Owners Only/testingcredits.js')
| -rw-r--r-- | commands/Owners Only/testingcredits.js | 47 |
1 files changed, 23 insertions, 24 deletions
diff --git a/commands/Owners Only/testingcredits.js b/commands/Owners Only/testingcredits.js index 76a6451..e902df8 100644 --- a/commands/Owners Only/testingcredits.js +++ b/commands/Owners Only/testingcredits.js @@ -18,29 +18,28 @@ * * *************************************/ -exports.run = async (bot, msg, args) => { - 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; - } else { - user = msg.mentions.members.first(); - }; +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.'); - bot.plugins.economy.add(user.id, 50); + let user; + if (!msg.mentions.members.first()) { + user = msg.author; + } else { + user = msg.mentions.members.first(); + } - msg.channel.send('Added 50 credits'); - }; - - exports.conf = { - aliases: [], - guildOnly: true, - }; - - exports.help = { - name: 'testingcredits', - description: 'Modifies the credits of a user', - usage: '@user <credits>', - }; -
\ No newline at end of file + bot.plugins.economy.add(user.id, 50); + + msg.channel.send('Added 50 credits'); +}; + +exports.conf = { + aliases: [], + guildOnly: true, +}; + +exports.help = { + name: 'testingcredits', + description: 'Modifies the credits of a user', + usage: '@user <credits>', +}; |
