From fa0be297bacd61d6f7a825d00f20b03441d67aae Mon Sep 17 00:00:00 2001 From: mudkipscience Date: Sat, 24 Dec 2022 22:53:14 +1100 Subject: [PATCH] add cache mainly for API data --- bot/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bot/index.js b/bot/index.js index 80c1bbb..12acf67 100644 --- a/bot/index.js +++ b/bot/index.js @@ -33,6 +33,9 @@ class WoomyClient extends Discord.Client { this.aliases = new Discord.Collection(); this.eventModules = new Discord.Collection(); this.cooldowns = new Discord.Collection(); + + // Cache we can store stuff in + this.cache = new Discord.Collection(); } // Listen for Discord events and pass needed information to the event handler so we can respond to them.