add cache mainly for API data

This commit is contained in:
Emily 2022-12-24 22:53:14 +11:00
parent 2b8c67b16c
commit fa0be297ba
1 changed files with 3 additions and 0 deletions

View File

@ -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.