mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-21 16:03:10 +00:00
[commands] Fix indentation error in commands.bot_has_role docstring.
This commit is contained in:
@@ -791,6 +791,7 @@ def bot_has_role(name):
|
||||
"""Similar to :func:`has_role` except checks if the bot itself has the
|
||||
role.
|
||||
"""
|
||||
|
||||
def predicate(ctx):
|
||||
ch = ctx.message.channel
|
||||
if ch.is_private:
|
||||
|
Reference in New Issue
Block a user