Does djs/rest just wait until the cf ban is over?

What I exactly mean with this is that I checked the source of djs/rest and notice that I only find a wait until its unblocked again? Is this true and if yes is there a way that rest dont wait and just stop all requests until its unblocked again?
6 Replies
d.js toolkit
d.js toolkit17mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Post the full error stack trace, not just the top part! - Show your code! - Explain what exactly your issue is. - Not a discord.js issue? Check out #useful-servers. - Issue solved? Press the button!
Syjalo
Syjalo17mo ago
I don't think /rest handles cf bans. That just waits the remaining time of the rate limit.
sean
seanOP17mo ago
Yeah but the cf ban sends a remaining time too in the header and as I see rest checks this 🤔 or do I just oversee something
Syjalo
Syjalo17mo ago
cf bans aren't 429 iirc
sean
seanOP17mo ago
they are I mean the status code is 429 of the response ahh thanks thats exactly what I tried to find 👍
Want results from more Discord servers?
Add your server