add cache mainly for API data
This commit is contained in:
parent
2b8c67b16c
commit
fa0be297ba
1 changed files with 3 additions and 0 deletions
|
@ -33,6 +33,9 @@ class WoomyClient extends Discord.Client {
|
||||||
this.aliases = new Discord.Collection();
|
this.aliases = new Discord.Collection();
|
||||||
this.eventModules = new Discord.Collection();
|
this.eventModules = new Discord.Collection();
|
||||||
this.cooldowns = 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.
|
// Listen for Discord events and pass needed information to the event handler so we can respond to them.
|
||||||
|
|
Loading…
Reference in a new issue