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

Sync previous bans #190

Open
shadowgamingyt opened this issue Sep 5, 2023 · 1 comment
Open

Sync previous bans #190

shadowgamingyt opened this issue Sep 5, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@shadowgamingyt
Copy link

is there any way for the bot to take old bans that were already on the servers and sync them acrost all of them?

@almeidx almeidx added the enhancement New feature or request label Sep 5, 2023
@almeidx
Copy link
Owner

almeidx commented Sep 5, 2023

Something like this would not work well on larger guilds, e.g. with more than 1000 bans for the following reasons:

  • You can only ban up to 1000 users that are not members of the guild per day
  • There is no bulk ban endpoint, i.e. the bot would have to ban each user one by one
  • The endpoint for retrieving bans is paginated and only returns up to 1000 bans per request

@almeidx almeidx changed the title possable new feature Sync previous bans Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants