mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 05:52:05 +00:00
fix(RequestHandler): a global timeout implies limited (#3950)
This commit is contained in:
parent
609a545131
commit
7b38f46caf
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ class RequestHandler {
|
|||
}
|
||||
|
||||
get limited() {
|
||||
return (this.manager.globalTimeout || this.remaining <= 0) && Date.now() < this.reset;
|
||||
return Boolean(this.manager.globalTimeout) || (this.remaining <= 0 && Date.now() < this.reset);
|
||||
}
|
||||
|
||||
get _inactive() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue