aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2016-01-16 23:35:58 -0500
committerRapptz <[email protected]>2016-01-16 23:35:58 -0500
commitd1508bc739996bd56d9be49b09a61e2b369df2e0 (patch)
tree41d84dfee17ef75d4f07371d48c6df2cfb051640
parentRaise a different exception if ffmpeg is not found in PATH. (diff)
downloaddiscord.py-d1508bc739996bd56d9be49b09a61e2b369df2e0.tar.xz
discord.py-d1508bc739996bd56d9be49b09a61e2b369df2e0.zip
[commands] Fix indentation error in commands.bot_has_role docstring.
-rw-r--r--discord/ext/commands/core.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py
index f5bb81aa..5e5ba795 100644
--- a/discord/ext/commands/core.py
+++ b/discord/ext/commands/core.py
@@ -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: