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

Tried to ban, resulted in 2 log messages being sent. #474

Open
silvanathecat opened this issue Apr 19, 2024 · 0 comments
Open

Tried to ban, resulted in 2 log messages being sent. #474

silvanathecat opened this issue Apr 19, 2024 · 0 comments

Comments

@silvanathecat
Copy link
Contributor

This is a personal Dozer and is running the latest revision of this codebase (from this repo, not my fork).
No log channel is configured. The bot has lower perms than the user it is attempting to ban, and therefore it doesn't work.

image

My theory is that it is trying to ban, doesn't realize it can't, then adds the user to the global ban database, realizes that user is in this server, and tries to ban them before throwing an exception.

After testing, this also works on the production version of the bot.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant