rate limit
Can someone explain in detail how the ratelimit using discord.js works
1. What methods/requests are counting for the api?
2. Do /commands also count?
3. Is there a built in way on discord js to queue requests and send them by chunks each second?
4. any more info about to know?
2 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!:discord: Rate Limits
Rate limits exist across Discord's APIs to prevent spam, abuse, and service overload. Limits are applied to individual bots and users both on a per-route basis and globally. Individuals are determined using a request's authentication—for example, a bot token for a bot.
read more