From c9d604b73ce5c1f1d138824a6f6e5df61e4cd0d0 Mon Sep 17 00:00:00 2001 From: AnxietyisReal <96593068+AnxietyisReal@users.noreply.github.com> Date: Sat, 28 Jan 2023 13:42:15 +1100 Subject: [PATCH] Increase autosave interval for userLevels --- src/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.ts b/src/client.ts index 9b045c4..de93ee5 100644 --- a/src/client.ts +++ b/src/client.ts @@ -86,7 +86,7 @@ export default class TClient extends Client { this.punishments.initLoad(); this.bannedWords.initLoad(); this.bonkCount.initLoad(); - this.userLevels.initLoad().intervalSave(15000).disableSaveNotifs(); + this.userLevels.initLoad().intervalSave(30000).disableSaveNotifs(); const commandFiles = fs.readdirSync('src/commands').filter(file=>file.endsWith('.ts')); for (const file of commandFiles){ const command = require(`./commands/${file}`);