mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 17:13:31 +01:00
Comply to the new Rate Limit Headers hammerandchisel/discord-api-docs#108
This commit is contained in:
@@ -12,6 +12,7 @@ class RESTManager {
|
||||
this.userAgentManager = new UserAgentManager(this);
|
||||
this.methods = new RESTMethods(this);
|
||||
this.rateLimitedEndpoints = {};
|
||||
this.globallyRateLimited = false;
|
||||
}
|
||||
|
||||
push(handler, apiRequest) {
|
||||
|
||||
Reference in New Issue
Block a user