Update d.js message caching settings

This commit is contained in:
benji7425 2018-01-03 01:45:44 +00:00
parent 2852cb5bcb
commit 6f5ccb5eca
1 changed files with 5 additions and 1 deletions

View File

@ -17,7 +17,11 @@ module.exports = class Client extends Discord.Client {
* @param {*} guildDataModel GuildData model to be used for app; must extend BaseGuildData
*/
constructor(token, commandsDir, guildDataModel) {
super();
super({
messageCacheMaxSize: 16,
messageCacheLifetime: 60,
messageSweepInterval: 480
});
this._token = token;
this.commandsDir = commandsDir;