From 777355db9cd0121fc41e554906ebaca049fe66ad Mon Sep 17 00:00:00 2001 From: Unknown Date: Thu, 5 Apr 2018 19:17:23 -0400 Subject: cleanup --- commands/Owners Only/modifycredits.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/Owners Only') 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); -- cgit v1.2.3