From b35aec9d8df4f04feef85d96f7ecc0f4cbabb436 Mon Sep 17 00:00:00 2001 From: pokesudenk Date: Fri, 9 Mar 2018 22:23:14 -0500 Subject: TREY IS DIMB BOMBER ! :thinking: --- commands/Fun/balance.js | 2 +- commands/Fun/getcredits.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'commands') diff --git a/commands/Fun/balance.js b/commands/Fun/balance.js index d5e96bb..4dbe1f3 100644 --- a/commands/Fun/balance.js +++ b/commands/Fun/balance.js @@ -19,7 +19,7 @@ * *************************************/ exports.run = (bot, msg) => { - msg.reply(bot.exports.economy.get(msg.author.id) + 'credits'); + msg.reply(bot.plugins.economy.get(msg.author.id) + 'credits'); }; exports.conf = { diff --git a/commands/Fun/getcredits.js b/commands/Fun/getcredits.js index c2736b0..b3e92ca 100644 --- a/commands/Fun/getcredits.js +++ b/commands/Fun/getcredits.js @@ -19,7 +19,7 @@ * *************************************/ exports.run = (bot, msg) => { - bot.exports.economy.add(msg.author.id, 10); + bot.plugins.economy.add(msg.author.id, 10); msg.reply('Added 10 credits.'); }; -- cgit v1.2.3