New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better rate limiting #54
Comments
"⎛⎝xX_jake_Xx⎠⎞ - Today at 11:03 AM Do you have a WIP of this or any implementation ideas? This should probably be done soon-ish before the lib is de-listed. |
I have a plan, the new method makes automatically handling the rate limits a lot easier. |
(until libs are delisted) |
Yep, I saw. I started on it yesterday already. |
First pass is in b71d1e3, but it probably needs a little refinement before this can be closed. |
The docs have been updated: discord/discord-api-docs#137. discord-rs needs to be updated for these changes. |
Depend on discord. Depend on chrono Add Error::LoginFailed() Add ops::Feed. Add ops::Feed tests A chunk of functionality depends on SpaceManiac/discord-rs#54 for discord v0.9.0 to be released
Discord is pushing for libs to support rate limits natively rather than leaving that responsibility to users, so there needs to be some handling for that: discord/discord-api-docs#108
Hopefully there'll eventually be some way to get this info programatically, but here's the current state of rate limits:
The text was updated successfully, but these errors were encountered: