@ -791,6 +791,7 @@ def bot_has_role(name):
"""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: