Skip to content

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

@silvanathecat

Description

@silvanathecat

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions