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

CLI leave does not respect Discord rate limits #520

Open
kevinlul opened this issue Jun 7, 2023 · 0 comments
Open

CLI leave does not respect Discord rate limits #520

kevinlul opened this issue Jun 7, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@kevinlul
Copy link
Contributor

kevinlul commented Jun 7, 2023

With a sufficient batch of servers passed to yarn leave(:docker), most will get a 429 back from Discord.

https://github.com/DawnbrandBots/emcee-tournament-bot/blob/master/src/cli/leave.ts should use the REST client provided by discord.js, in the same manner used to register Slash Commands, in order to respect rate limits and successfully function for a batch of servers.

@kevinlul kevinlul added the bug Something isn't working label Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant