mirror of
https://github.com/danbulant/discord.js
synced 2026-07-05 19:20:42 +00:00
Webpack build for branch master: 26069a44e2
This commit is contained in:
parent
73ef454a15
commit
be7145d255
2 changed files with 2 additions and 2 deletions
|
|
@ -23839,7 +23839,7 @@ class WebSocketManager extends EventEmitter {
|
||||||
const item = this._queue[0];
|
const item = this._queue[0];
|
||||||
if (!(this.ws.readyState === WebSocketConnection.WebSocket.OPEN && item)) return;
|
if (!(this.ws.readyState === WebSocketConnection.WebSocket.OPEN && item)) return;
|
||||||
if (this.remaining === 0) {
|
if (this.remaining === 0) {
|
||||||
this.client.setTimeout(this.doQueue.bind(this), Date.now() + (this._remainingReset || 60e3));
|
this.client.setTimeout(this.doQueue.bind(this), Date.now() + (this._remainingReset || 120e3));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this._remaining--;
|
this._remaining--;
|
||||||
|
|
|
||||||
2
discord.master.min.js
vendored
2
discord.master.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue