aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--commands/Fun/balance.js2
-rw-r--r--commands/Fun/getcredits.js2
2 files changed, 2 insertions, 2 deletions
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.');
};