mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 09:33:32 +01:00
fix: instantiate constructors before using those properties
This commit is contained in:
@@ -44,6 +44,12 @@ class WebSocketConnection extends EventEmitter {
|
||||
*/
|
||||
this.sequence = -1;
|
||||
|
||||
/**
|
||||
* The current sessionID of the WebSocket
|
||||
* @type {string}
|
||||
*/
|
||||
this.sessionID = null;
|
||||
|
||||
/**
|
||||
* The current status of the client
|
||||
* @type {number}
|
||||
|
||||
Reference in New Issue
Block a user