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