mirror of
https://github.com/danbulant/discord.js
synced 2026-05-24 20:42:27 +00:00
remove useless waiting reference
This commit is contained in:
parent
8dfc96d460
commit
25e0048bbf
1 changed files with 1 additions and 4 deletions
|
|
@ -73,10 +73,7 @@ class SequentialRequestHandler extends RequestHandler {
|
|||
item.resolve(data);
|
||||
if (this.requestRemaining === 0) {
|
||||
this.restManager.client.setTimeout(
|
||||
() => {
|
||||
this.waiting = false;
|
||||
resolve(data);
|
||||
},
|
||||
() => resolve(data),
|
||||
this.requestResetTime - Date.now() + this.timeDifference + this.restManager.client.options.restTimeOffset
|
||||
);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue