aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: