mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 12:21:00 -05:00
Increase autosave interval for userLevels
This commit is contained in:
parent
1ef6a37fc4
commit
a62a567887
@ -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}`);
|
||||
|
Loading…
Reference in New Issue
Block a user