api-spam

If the bot gets stuck on api-spam, there must be a way to tell. With a selectstringmenu, the member can change the name of the channel and I need to warn that person. Or can you find me a solution?
12 Replies
d.js toolkit
d.js toolkit7mo 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
axiprime2.0
axiprime2.07mo ago
You either track the rate limit or catch the error code and respond accordingly. fyi, you can update a channel name 2 times per 10 minutes
ZeuLeg
ZeuLeg7mo ago
Does it give an error?
axiprime2.0
axiprime2.07mo ago
Yes, you receive a full error with error code.
ZeuLeg
ZeuLeg7mo ago
Are you sure I will get an error when caught by API-spam? @axiprime2.0
axiprime2.0
axiprime2.07mo ago
What API spam for you ? For me it is rate limit code 429.
ZeuLeg
ZeuLeg7mo ago
what does this mean?
axiprime2.0
axiprime2.07mo ago
When you making too many request you receive a code 429 from the api.
ZeuLeg
ZeuLeg7mo ago
ok
axiprime2.0
axiprime2.07mo ago
Is this what are you referring too?
ZeuLeg
ZeuLeg7mo ago
I will try it doesn't give any error
chewie
chewie7mo ago
we answered you earlier already there is no error, djs queues requests upon hitting the limit
Want results from more Discord servers?
Add your server