Update WebSocketShard.js
This commit is contained in:
parent
ad259bc60e
commit
3cdf1ad9f9
@ -434,7 +434,7 @@ class WebSocketShard extends EventEmitter {
|
|||||||
this.resumeURL = packet.d.resume_gateway_url;
|
this.resumeURL = packet.d.resume_gateway_url;
|
||||||
this.expectedGuilds = new Set(packet.d.guilds.filter(d => d?.unavailable == true).map(d => d.id));
|
this.expectedGuilds = new Set(packet.d.guilds.filter(d => d?.unavailable == true).map(d => d.id));
|
||||||
this.status = Status.WAITING_FOR_GUILDS;
|
this.status = Status.WAITING_FOR_GUILDS;
|
||||||
this.debug(`[READY] Session ${this.sessionId} | ResumeURL ${this.resumeURL}.`);
|
this.debug(`[READY] Session ${this.sessionId} | ResumeURL ${this.resumeURL}`);
|
||||||
this.lastHeartbeatAcked = true;
|
this.lastHeartbeatAcked = true;
|
||||||
this.sendHeartbeat('ReadyHeartbeat');
|
this.sendHeartbeat('ReadyHeartbeat');
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user