mirror of
https://github.com/danbulant/discord.js
synced 2026-06-19 14:41:36 +00:00
Webpack build: 1933451d2f
This commit is contained in:
parent
0f04e66e29
commit
ccee29bf01
2 changed files with 3 additions and 3 deletions
|
|
@ -20880,7 +20880,7 @@ class WebSocketManager extends EventEmitter {
|
|||
* Tries to reconnect the client, changing the status to Constants.Status.RECONNECTING.
|
||||
*/
|
||||
tryReconnect() {
|
||||
if (this.status === Constants.Status.RECONNECTING) return;
|
||||
if (this.status === Constants.Status.RECONNECTING || this.status === Constants.Status.CONNECTING) return;
|
||||
this.status = Constants.Status.RECONNECTING;
|
||||
this.ws.close();
|
||||
this.packetManager.handleQueue();
|
||||
|
|
|
|||
4
discord.indev.min.js
vendored
4
discord.indev.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue