Export leaderboard first

This commit is contained in:
Dragon Fire
2020-11-09 15:41:01 -05:00
parent f139789496
commit 988146aeec
+1
View File
@@ -23,6 +23,7 @@ module.exports = class ReloadCommand extends Command {
}
run(msg, { command }) {
this.client.exportCommandLeaderboard();
command.reload();
this.client.importCommandLeaderboard();
return msg.say(`Reloaded the \`${command.name}\` command.`);