Color-Chan/Color-Chan.Discord

The `DiscordRateLimitPolicy` is not stateless.

BrammyS opened this issue · 1 comments

Describe the bug
If you have multiple process running the library for the same bot then DiscordRateLimitPolicy will not handle rate limits properly.

To Reproduce
Steps to reproduce the behavior:

  1. Hit a rate limit on an endpoint on one process.
  2. Send a request to the same endpoint.
  3. See error

Expected behavior
The second process should not send the request.

Fixed in v1.10.0.