Skip to content

Any way to access rate header information? #2369

Discussion options

You must be logged in to vote

so that I can pace requests accordingly and not get rate limit errors in the first place.

JDA already does this automatically, it rarely hits rate-limits (unless they are unavoidable). If it does hit the rate-limit, it tells you in the logs and also tells you how long it will wait for.

You can see the rate-limit details in the trace logs for RateLimiter. However, your described situation is considered API abuse and will likely get you API banned for spamming. The rate-limit for updating channel topics and names is 10 minutes, and I would advise you not to try and spam it with updates.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@0x4e49434f4c45
Comment options

Answer selected by MinnDevelopment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants