Skip to content

Improved handling of rate limits.

Pre-release
Pre-release
Compare
Choose a tag to compare
released this 08 Oct 21:51
· 1612 commits to master since this release
ef72110

No new functionality or breaking changes.


Fixes

Rate limits are now limited to sleeping for 60 seconds by default. If you are rate limited for any longer than this, you get a RateLimitTooLong error instead.

This was implemented in response to Discord actively giving "retry-after: 2 days" in rate limit headers, which previously would have made the caller wait 48 hours to perform an API call when creating roles in bulk.