Migrate most of the Client Data Store to Clien

This commit is contained in:
Amish Shah
2016-08-19 22:21:30 +01:00
parent ad8b4c7698
commit 82ab92ca2a
31 changed files with 75 additions and 55 deletions

View File

@@ -56,6 +56,22 @@ class Client extends EventEmitter {
* @private
*/
this.actions = new ActionsManager(this);
/**
* A map of the Client's stored users
* @type {Map<String, User>}
*/
this.users = new Map();
/**
* A map of the Client's stored guilds
* @type {Map<String, Guild>}
*/
this.guilds = new Map();
/**
* A map of the Client's stored channels
* @type {Map<String, Channel>}
*/
this.channels = new Map();
}
/**