Make fonts into a Collection

This commit is contained in:
Dragon Fire
2021-02-20 09:53:15 -05:00
parent a97baaa57d
commit 9c31d1119d
+1 -1
View File
@@ -35,7 +35,7 @@ module.exports = class XiaoClient extends CommandoClient {
winston.format.printf(log => `[${log.timestamp}] [${log.level.toUpperCase()}]: ${log.message}`)
)
});
this.fonts = new Map();
this.fonts = new Collection();
this.redis = Redis ? Redis.db : null;
this.webhook = new WebhookClient(XIAO_WEBHOOK_ID, XIAO_WEBHOOK_TOKEN, { disableMentions: 'everyone' });
this.timers = new TimerManager(this);