aboutsummaryrefslogtreecommitdiff
path: root/commands/Owners Only/modifycredits.js
diff options
context:
space:
mode:
Diffstat (limited to 'commands/Owners Only/modifycredits.js')
-rw-r--r--commands/Owners Only/modifycredits.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/Owners Only/modifycredits.js b/commands/Owners Only/modifycredits.js
index 6401d85..050d74d 100644
--- a/commands/Owners Only/modifycredits.js
+++ b/commands/Owners Only/modifycredits.js
@@ -17,7 +17,7 @@ exports.run = async (bot, msg) => {
user = msg.mentions.users.first();
}
- var oldbal = bot.plugins.economy.get(user.id);
+ const oldbal = bot.plugins.economy.get(user.id);
bot.plugins.economy.subtract(user.id, oldbal);