mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Update lastrun on shutdown
This commit is contained in:
@@ -49,6 +49,7 @@ module.exports = class ShutdownCommand extends Command {
|
||||
}
|
||||
try {
|
||||
this.uses++;
|
||||
this.lastRun = new Date();
|
||||
this.client.exportCommandLeaderboard();
|
||||
this.client.exportLastRun();
|
||||
this.client.logger.info('[SHUTDOWN] Manual shutdown engaged.');
|
||||
|
||||
Reference in New Issue
Block a user