Can the REST class be used to work with global rate limits (make sure you don't throttle)?
Let's say your bot gets huge fast and it's time to start worrying about rate limits, how would a developer go about managing that? I know that you have to begin sharding eventually, but before that.
I see a "globalDelay" property here, I'm not sure what it does exactly, but can it be useful for anything?
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!
- ✅
Marked as resolved by OPOh yeah, thanks!