mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 04:23:31 +01:00
docs(WebSocketShard): add missing properties (#4268)
This commit is contained in:
@@ -83,6 +83,7 @@ class WebSocketShard extends EventEmitter {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Contains the rate limit queue and metadata
|
* Contains the rate limit queue and metadata
|
||||||
|
* @name WebSocketShard#ratelimit
|
||||||
* @type {Object}
|
* @type {Object}
|
||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
@@ -98,6 +99,7 @@ class WebSocketShard extends EventEmitter {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The WebSocket connection for the current shard
|
* The WebSocket connection for the current shard
|
||||||
|
* @name WebSocketShard#connection
|
||||||
* @type {?WebSocket}
|
* @type {?WebSocket}
|
||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
@@ -110,6 +112,7 @@ class WebSocketShard extends EventEmitter {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The compression to use
|
* The compression to use
|
||||||
|
* @name WebSocketShard#inflate
|
||||||
* @type {?Inflate}
|
* @type {?Inflate}
|
||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
@@ -117,6 +120,7 @@ class WebSocketShard extends EventEmitter {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The HELLO timeout
|
* The HELLO timeout
|
||||||
|
* @name WebSocketShard#helloTimeout
|
||||||
* @type {?NodeJS.Timer}
|
* @type {?NodeJS.Timer}
|
||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
@@ -124,6 +128,7 @@ class WebSocketShard extends EventEmitter {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* If the manager attached its event handlers on the shard
|
* If the manager attached its event handlers on the shard
|
||||||
|
* @name WebSocketShard#eventsAttached
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
@@ -131,6 +136,7 @@ class WebSocketShard extends EventEmitter {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A set of guild IDs this shard expects to receive
|
* A set of guild IDs this shard expects to receive
|
||||||
|
* @name WebSocketShard#expectedGuilds
|
||||||
* @type {?Set<string>}
|
* @type {?Set<string>}
|
||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
@@ -138,6 +144,7 @@ class WebSocketShard extends EventEmitter {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The ready timeout
|
* The ready timeout
|
||||||
|
* @name WebSocketShard#readyTimeout
|
||||||
* @type {?NodeJS.Timer}
|
* @type {?NodeJS.Timer}
|
||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
@@ -145,6 +152,7 @@ class WebSocketShard extends EventEmitter {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Time when the WebSocket connection was opened
|
* Time when the WebSocket connection was opened
|
||||||
|
* @name WebSocketShard#connectedAt
|
||||||
* @type {number}
|
* @type {number}
|
||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user