What Discord.js features have the potential to hit the limit/go over the set Discord API limits?
Where can I even find Discord's API limits? I just want to make sure that what I am doing with my bot won't eventually be throttled if it grows.
9 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 OPOk, I see. But where would I put these headers and when do I use them? For example, what discord.js functions make get/post requests or use the API (if that makes sense)?
you dont put headers
discord does put headers in response
Ohh.. So you just have to edit the bot’s response based on if it is being throttled or not and what the reason is?
Is there any way to know what the exact limits are? Or no?
For example, for Roblox game development, the docs have specific limits/values for some services
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
I see
Thank you!
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
Cool, thanks a lot!