mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 09:03:29 +01:00
Emergency bug fix
Stopped the client from assuming all errors were 429 errors
This commit is contained in:
@@ -65,7 +65,6 @@ export default class InternalClient {
|
||||
return new Promise((resolve, reject) => {
|
||||
ret.end((error, data) => {
|
||||
if (error) {
|
||||
error.response.error.status = 429;
|
||||
if (!this.client.options.rate_limit_as_error &&
|
||||
error.response &&
|
||||
error.response.error &&
|
||||
|
||||
Reference in New Issue
Block a user