Skip to content
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

Rest: Ability to inspect and clear ratelimits. #61

Open
paperclover opened this issue Jul 22, 2022 · 0 comments
Open

Rest: Ability to inspect and clear ratelimits. #61

paperclover opened this issue Jul 22, 2022 · 0 comments
Labels
enhancement New feature or request pkg:rest

Comments

@paperclover
Copy link
Member

Rate limit inspection could work like:

rest.getRatelimitInfo(url: EndpointResolvable) -> Something

where the EndpointResolvable is either a string with a path or a method like rest.channel.createMessage.

Rate limit clearing can work like:

rest.clearRatelimit(url?: EndpointResolvable)

@paperclover paperclover added enhancement New feature or request pkg:rest labels Jul 22, 2022
@paperclover paperclover modified the milestone: post 2.0 Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pkg:rest
Projects
None yet
Development

No branches or pull requests

1 participant