From 9c31d1119de74d518d4bb2a13a0b49d6a2b25d89 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 20 Feb 2021 09:53:15 -0500 Subject: [PATCH] Make fonts into a Collection --- structures/Client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/structures/Client.js b/structures/Client.js index b0155bc3..9c02a3c1 100644 --- a/structures/Client.js +++ b/structures/Client.js @@ -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);