How many times per hour can you update role color?
Hey guys, can somebody tell me how many times per hour I can update role color?
Doing this with setInterval with 1 or 2 seconds delay, it worked for a few minutes but it stopped changing colors all of a sudden.
Can somebody explain me why this happens as well?
Thanks!
14 Replies
- 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 OPIt's consider API spam so I would recommend you not doing that.
I wanted to create christmas vibes, thought it would be nice tho
I disabled it now
np ^^ I was just letting you know !
however discord have their own rate limit for each things
do you know where I can find info about it?
there no chart in place
apparently from 50 requests per second
All bots can make up to 50 requests per second to our API.
is what I found
strange then
Some endpoint have diffrent rate limit because some people might have abuse of it or it was making way too many request
@axiprime I'm having discord open in the browser
do you think it can be a web issue?
you might not see the color change because of the cache, however its still not a good pratice.
alright np then, anyway thanks for the info!
another thing, do you know if discord has their own discord server?
thanks!
oops: