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
d.js toolkit
d.js toolkit16mo 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
axiprime
axiprime16mo ago
It's consider API spam so I would recommend you not doing that.
G0J1R4
G0J1R4OP16mo ago
I wanted to create christmas vibes, thought it would be nice tho I disabled it now
axiprime
axiprime16mo ago
np ^^ I was just letting you know ! however discord have their own rate limit for each things
G0J1R4
G0J1R4OP16mo ago
do you know where I can find info about it?
axiprime
axiprime16mo ago
there no chart in place
G0J1R4
G0J1R4OP16mo ago
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
axiprime
axiprime16mo ago
Some endpoint have diffrent rate limit because some people might have abuse of it or it was making way too many request
G0J1R4
G0J1R4OP16mo ago
@axiprime I'm having discord open in the browser do you think it can be a web issue?
axiprime
axiprime16mo ago
you might not see the color change because of the cache, however its still not a good pratice.
G0J1R4
G0J1R4OP16mo ago
alright np then, anyway thanks for the info! another thing, do you know if discord has their own discord server?
G0J1R4
G0J1R4OP16mo ago
thanks!
G0J1R4
G0J1R4OP16mo ago
oops:
No description
Want results from more Discord servers?
Add your server