RateLimit issues / other causes

Hi, I have a lot of bots on my server and I feel like I get ratelimited everytime I restart the server. Everytime I restart the server about 14 bots startup in 5 seconds and it just stops no errors nothing. If I startup 14 bots in 14 seconds then it does work? Is there a way to monitor the ratelimit / not get IP blocked? How it currently works is that out of my database it fetches about 50 bots, these bots startup with a create call to the bot code.
6 Replies
d.js toolkit
d.js toolkit5mo 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!
Bacio001
Bacio001OP5mo ago
So there is not a way to recieve the ratelimit data so I can for example wait with starting up more bots? Currently I can't really get multiple servers
Erick
Erick5mo ago
@Bacio001 start them with a delay between
Bacio001
Bacio001OP5mo ago
We currently do that like a 1 second delay between them but even then it sometimes happens Hence I would like to be able to check if the ratelimit is being hit
Erick
Erick5mo ago
1 second is like nothing, you cant check if the ratelimit will be hit you can check only when you got ratelimited
Bacio001
Bacio001OP5mo ago
Really I thought 1 second was more then enough since you can do 50 requests a second on 1 IP
Want results from more Discord servers?
Add your server