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'); }) }