mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-16 08:22:22 +02:00
Export command leaderboard after setting uses
This commit is contained in:
@@ -51,6 +51,7 @@ module.exports = class SetUsesCommand extends Command {
|
|||||||
case 'subtract': command.uses -= num; break;
|
case 'subtract': command.uses -= num; break;
|
||||||
case 'exact': 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.`);
|
return msg.say(`${modeDesc[mode]} **${num}** ${conj[mode]} the uses of the \`${command.name}\` command.`);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user