Callback function for 429's?

How can I run a function when a 429 is hit?
2 Replies
d.js docs
d.js docs2y 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. Documentation suggestion for @zisra:event (event) Client#rateLimit Emitted when the client hits a rate limit while making a request
Isra
Isra2y ago
I thought rateLimit was different from 429 @qjuh Isn't 429 when you keep on doing requests