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