mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 04:10:59 -05:00
Increase autosave interval for userLevels
This commit is contained in:
parent
75fd6437e1
commit
c9d604b73c
@ -86,7 +86,7 @@ export default class TClient extends Client {
|
|||||||
this.punishments.initLoad();
|
this.punishments.initLoad();
|
||||||
this.bannedWords.initLoad();
|
this.bannedWords.initLoad();
|
||||||
this.bonkCount.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'));
|
const commandFiles = fs.readdirSync('src/commands').filter(file=>file.endsWith('.ts'));
|
||||||
for (const file of commandFiles){
|
for (const file of commandFiles){
|
||||||
const command = require(`./commands/${file}`);
|
const command = require(`./commands/${file}`);
|
||||||
|
Loading…
Reference in New Issue
Block a user