From 3c4bc8df330d45b354eb32f1ab9c73bdbc4506e4 Mon Sep 17 00:00:00 2001 From: Toast <96593068+AnxietyisReal@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'); }) }