From f4fcd78774dc6b84dcdd80bce79314f7d936734d Mon Sep 17 00:00:00 2001 From: toast-ts <96593068+toast-ts@users.noreply.github.com> Date: Mon, 9 Oct 2023 11:05:15 +1100 Subject: [PATCH] Update userLevels.ts --- src/models/userLevels.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/userLevels.ts b/src/models/userLevels.ts index 1e2a3d4..b4b3363 100644 --- a/src/models/userLevels.ts +++ b/src/models/userLevels.ts @@ -40,7 +40,7 @@ export default class userLevels extends Schema { const logText = `Resetting LRSstart to \`${newEpoch}\`, saved to config file`; Logger.forwardToConsole('log', 'DailyMsgs', logText); (this.client.channels.resolve(this.client.config.mainServer.channels.logs) as Discord.TextChannel).send({embeds: [new this.client.embed().setColor(this.client.config.embedColorXmas).setTitle('Happy New Years! Level System is clean!').setDescription(logText).setTimestamp()]}).catch(err=>console.log(err)); - writeFileSync('./src/DB-Beta.config.json', JSON.stringify(this.client.config, null, 2)); + writeFileSync('./src/config.json', JSON.stringify(this.client.config, null, 2)); Logger.forwardToConsole('log', 'Cron:resetAllData', 'Job completed'); }) }