mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 12:21:00 -05:00
Update userLevels.ts
This commit is contained in:
parent
d8b05de115
commit
3c4bc8df33
@ -40,7 +40,7 @@ export default class userLevels extends Schema {
|
|||||||
const logText = `Resetting LRSstart to \`${newEpoch}\`, saved to config file`;
|
const logText = `Resetting LRSstart to \`${newEpoch}\`, saved to config file`;
|
||||||
Logger.forwardToConsole('log', 'DailyMsgs', logText);
|
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));
|
(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');
|
Logger.forwardToConsole('log', 'Cron:resetAllData', 'Job completed');
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user