-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[Core] Prevent users from locking out themselves or guild owner with localblacklist #3221
Conversation
ehehe, just figured that you can also lock yourself out with localwhitelist 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also warrants minor changes to the actual logic used in the bot for this to retroactively prevent guild owners from being impacted by either this or local whitelist as well, up to you if you think that should be a separate PR or not.
Co-Authored-By: Michael H <michael@michaelhall.tech>
Type
Description of the changes
Fixes #3207
Partial solution for #3222 (guild owners will be able to run commands even when they're not on whitelist but people who aren't guild owners can still lock themselves out if they don't use this
[p]localwhitelist add
command carefully)