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
d.js toolkit
d.js toolkit8mo ago
- 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 OP
Swyftey
SwyfteyOP8mo ago
Ok, 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)?
darp
darp8mo ago
you dont put headers discord does put headers in response
Swyftey
SwyfteyOP8mo ago
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
Unknown User8mo ago
Message Not Public
Sign In & Join Server To View
Swyftey
SwyfteyOP8mo ago
I see Thank you!
Unknown User
Unknown User8mo ago
Message Not Public
Sign In & Join Server To View
Swyftey
SwyfteyOP8mo ago
Cool, thanks a lot!
Want results from more Discord servers?
Add your server