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

InfractionSyncingHandler throws an error when a user is manually banned by a bot or user who does not have the ModerationBan claim #883

Open
Scott-Caldwell opened this issue Jun 22, 2021 · 1 comment
Labels
bug Defective functionality or otherwise unwanted behaviour.

Comments

@Scott-Caldwell
Copy link
Member

No description provided.

@Scott-Caldwell Scott-Caldwell added the bug Defective functionality or otherwise unwanted behaviour. label Jun 22, 2021
@Scott-Caldwell Scott-Caldwell changed the title InfractionSyncingHandler throws an error when a user is manually banned by a bot or user who does not have the ModerationBa claim InfractionSyncingHandler throws an error when a user is manually banned by a bot or user who does not have the ModerationBan claim Jul 9, 2021
@n-Ultima
Copy link
Contributor

n-Ultima commented Sep 16, 2021

Maybe if they have the ban members permission on Discord, you could assign them the ModerationBan claim automatically before actually attempting the CreateInfractionAsync call?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Defective functionality or otherwise unwanted behaviour.
Projects
None yet
Development

No branches or pull requests

2 participants