cache handler bugfix

This commit is contained in:
Erik 2021-06-21 17:54:05 +03:00
parent 953431032e
commit 47e2f83708
No known key found for this signature in database
GPG Key ID: 7E862371D3409F16

View File

@ -35,7 +35,7 @@ class Cache {
} }
this.cacheSaveInterval = setInterval(this.save.bind(this), 10 * 60 * 1000); this.cacheSaveInterval = setInterval(this.save.bind(this), 10 * 60 * 1000);
this.modmailSaveInterval = setInterval(this.save.bind(this), this.saveInterval * 60 * 1000, this.client.modmail); this.modmailSaveInterval = setInterval(this.saveModmailHistory.bind(this), this.saveInterval * 60 * 1000, this.client.modmail);
this._ready = true; this._ready = true;
} }