mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-20 16:00:29 +00:00
[commands] Fix indentation error in commands.bot_has_role docstring.
This commit is contained in:
parent
6c7a493fd9
commit
d1508bc739
@ -788,9 +788,10 @@ def has_permissions(**perms):
|
||||
return check(predicate)
|
||||
|
||||
def bot_has_role(name):
|
||||
"""Similar to :func:`has_role` except checks if the bot itself has the
|
||||
role.
|
||||
"""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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user