serenity-rs / serenity

A Rust library for the Discord API.
https://discord.gg/serenity-rs
ISC License
4.65k stars 571 forks source link

Adds better abilities to check, what exactly was rate limited #2901

Open TheCataliasTNT2k opened 2 months ago

TheCataliasTNT2k commented 2 months ago

Add "OwnedRoute" to "RatelimitInfo" which allows to check the cause of the rate limit and which identifiers were affected (e.g. which channel).

TheCataliasTNT2k commented 2 months ago

The failing check seems broken, at least I do not get any error when looking at the details...

jamesbt365 commented 2 months ago

The failing check seems broken, at least I do not get any error when looking at the details...

cargo +nightly fmt --all