mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Export leaderboard first
This commit is contained in:
@@ -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.`);
|
||||
|
||||
Reference in New Issue
Block a user