Export command leaderboard after setting uses

This commit is contained in:
Dragon Fire
2020-11-09 16:01:18 -05:00
parent 356724a5d7
commit 6a0c8e2c3c
+1
View File
@@ -51,6 +51,7 @@ module.exports = class SetUsesCommand extends Command {
case 'subtract': command.uses -= num; break;
case 'exact': command.uses = num; break;
}
this.client.exportCommandLeaderboard();
return msg.say(`${modeDesc[mode]} **${num}** ${conj[mode]} the uses of the \`${command.name}\` command.`);
}
};