I used ChatGPT just to have it summarize how Discord.JS handles rate limiting.
My scenario was something along the lines of: "How will Discord.JS handle rate limits if I sent 1 message to 100 different webhooks?"
I wouldn't hit the webhook rate limit, but I would hit the global rate limit.
1: The response from ChatGPT was that Discord.JS (for example) will send 50 of those messages and then queue the remaining requests once the rate limit retry-after time has passed, is this true?
2: If yes to question 1: If not 50, how many requests will Discord.JS send at a time?
3: Is there any sort of method/technique I should be using for my given scenario, or is relying on Discord.JS's rate limit handing fine enough?
Thanks for any answers!