Skip to content
This repository was archived by the owner on Jul 11, 2024. It is now read-only.

Rate limit exceeded due to shared buckets #391

Description

@meooow25

Describe the bug
A rate limit exceeded error can occur if a certain endpoint shares the rate limit bucket with another endpoint but disgord doesn't know it yet. For example, if I react on a message and immediately unreact, the unreact fails because it shares the bucket with react. Example bot: gist.

I'm hesitant to call this a bug because I understand that this is how Discord works and it is not possible to know the bucket in advance, but it would be nice if the request could be auto-retried if, for instance, it fails due to 429 and its bucket was previously unknown. I will have to manually implement a retry anyway if disgord doesn't do it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions