mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-25 22:32:50 +02:00
Add last-run file support
This commit is contained in:
@@ -50,6 +50,7 @@ module.exports = class ShutdownCommand extends Command {
|
||||
try {
|
||||
this.uses++;
|
||||
this.client.exportCommandLeaderboard();
|
||||
this.client.exportLastRun();
|
||||
this.client.logger.info('[SHUTDOWN] Manual shutdown engaged.');
|
||||
const text = texts[Math.floor(Math.random() * texts.length)];
|
||||
await msg.say(text);
|
||||
|
||||
Reference in New Issue
Block a user