mirror of
https://github.com/danbulant/discord.js
synced 2026-06-19 22:51:32 +00:00
Document private props in Client
This commit is contained in:
parent
3c5a227ea0
commit
a52b46fab4
2 changed files with 31 additions and 1 deletions
File diff suppressed because one or more lines are too long
|
|
@ -20,11 +20,41 @@ class Client extends EventEmitter {
|
|||
constructor(options) {
|
||||
super();
|
||||
this.options = mergeDefault(Constants.DefaultOptions, options);
|
||||
/**
|
||||
* The REST manager of the client
|
||||
* @type {RESTManager}
|
||||
* @private
|
||||
*/
|
||||
this.rest = new RESTManager(this);
|
||||
/**
|
||||
* The data store of the Client
|
||||
* @type {ClientDataStore}
|
||||
* @private
|
||||
*/
|
||||
this.store = new ClientDataStore(this);
|
||||
/**
|
||||
* The manager of the Client
|
||||
* @type {ClientManager}
|
||||
* @private
|
||||
*/
|
||||
this.manager = new ClientManager(this);
|
||||
/**
|
||||
* The WebSocket Manager of the Client
|
||||
* @type {WebSocketManager}
|
||||
* @private
|
||||
*/
|
||||
this.ws = new WebSocketManager(this);
|
||||
/**
|
||||
* The Data Resolver of the Client
|
||||
* @type {ClientDataResolver}
|
||||
* @private
|
||||
*/
|
||||
this.resolver = new ClientDataResolver(this);
|
||||
/**
|
||||
* The Action Manager of the Client
|
||||
* @type {ActionsManager}
|
||||
* @private
|
||||
*/
|
||||
this.actions = new ActionsManager(this);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue