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 toolkit13mo 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.013mo 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
ZeuLegOP13mo ago
Does it give an error?
axiprime2.0
axiprime2.013mo ago
Yes, you receive a full error with error code.
ZeuLeg
ZeuLegOP13mo ago
Are you sure I will get an error when caught by API-spam? @axiprime2.0
axiprime2.0
axiprime2.013mo ago
What API spam for you ? For me it is rate limit code 429.
ZeuLeg
ZeuLegOP13mo ago
what does this mean?
axiprime2.0
axiprime2.013mo ago
When you making too many request you receive a code 429 from the api.
ZeuLeg
ZeuLegOP13mo ago
ok
axiprime2.0
axiprime2.013mo ago
Is this what are you referring too?
ZeuLeg
ZeuLegOP13mo ago
I will try it doesn't give any error
chewie
chewie13mo ago
we answered you earlier already there is no error, djs queues requests upon hitting the limit

Did you find this page helpful?