mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 19:13:31 +01:00
fix: Better global ratelimit management (#2801)
* fix: better global ratelimit handling in RequestHandler fix: Remove useless line fix: Better global ratelimit management * refactor: Changed RESTManager#globallyRateLimited to be a getter * refactor: Remove RESTManager#globallyRateLimited getter * docs: Updated comments to reflect latest changes
This commit is contained in:
@@ -9,7 +9,6 @@ class RESTManager {
|
||||
constructor(client, tokenPrefix = 'Bot') {
|
||||
this.client = client;
|
||||
this.handlers = new Collection();
|
||||
this.globallyRateLimited = false;
|
||||
this.tokenPrefix = tokenPrefix;
|
||||
this.versioned = true;
|
||||
this.globalTimeout = null;
|
||||
|
||||
Reference in New Issue
Block a user