Add last-run file support

This commit is contained in:
Dragon Fire
2021-02-01 21:51:00 -05:00
parent 9d4b525333
commit 50de60cd1f
9 changed files with 117 additions and 3 deletions
+1
View File
@@ -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);