Browse Source

[commands] Fix indentation error in commands.bot_has_role docstring.

pull/95/head
Rapptz 10 years ago
parent
commit
d1508bc739
  1. 1
      discord/ext/commands/core.py

1
discord/ext/commands/core.py

@ -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…
Cancel
Save