[Core] Prevent users from locking out themselves or guild owner with localblacklist (#3221)

* Update core_commands.py

* Update core_commands.py

* Create 3207.bugfix.rst

* Update core_commands.py

* Create 3221.bugfix.rst

* Update redbot/core/core_commands.py

Co-Authored-By: Michael H <michael@michaelhall.tech>

* Update bot.py

* Rename 3221.bugfix.rst to 3221.bugfix.1.rst

* Create 3221.bugfix.2.rst

* Update bot.py

Co-authored-by: Michael H <michael@michaelhall.tech>
This commit is contained in:
jack1142
2019-12-27 23:33:22 +01:00
committed by Michael H
parent de229f63fe
commit aabdabf3bc
5 changed files with 21 additions and 3 deletions

View File

@@ -0,0 +1 @@
Red will now prevent users from locking themselves out with localblacklist.

View File

@@ -0,0 +1 @@
Red will now prevent users from locking guild owner out with localblacklist (unless the command caller is bot owner).

View File

@@ -0,0 +1 @@
Guild owners are no longer affected by local whitelist and blacklist.