From 66f92c9566e7410f9bc8273d709eec7adbb15326 Mon Sep 17 00:00:00 2001 From: Unknown Date: Fri, 9 Mar 2018 22:24:10 -0500 Subject: FIX DUMBO --- commands/Fun/balance.js | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'commands/Fun/balance.js') diff --git a/commands/Fun/balance.js b/commands/Fun/balance.js index d5e96bb..6bfd2b0 100644 --- a/commands/Fun/balance.js +++ b/commands/Fun/balance.js @@ -18,17 +18,17 @@ * * *************************************/ -exports.run = (bot, msg) => { - msg.reply(bot.exports.economy.get(msg.author.id) + 'credits'); - }; - - exports.conf = { - aliases: ['bal', 'money', 'credits'], - guildOnly: true, - }; - - exports.help = { - name: 'balance', - description: 'Check your balance!', - }; - \ No newline at end of file +exports.run = async (bot, msg) => { + const credits = await bot.plugins.economy.get(msg.author.id); + msg.reply(credits + ' credits'); +}; + +exports.conf = { + aliases: ['bal', 'money', 'credits'], + guildOnly: true, +}; + +exports.help = { + name: 'balance', + description: 'Check your balance!', +}; -- cgit v1.2.3