[V3] Pin discord.py for beta 16 release (#1848)

* Update main requirements

* Update docs requirements

* Black reformat after version update

* Pin dpy  in docs
This commit is contained in:
Will
2018-06-10 19:01:58 -04:00
committed by GitHub
parent 1ad1744054
commit 7b64f10fc7
5 changed files with 41 additions and 25 deletions

View File

@@ -69,8 +69,9 @@ def get_command_from_input(bot, userinput: str):
check_str = inspect.getsource(checks.is_owner)
if any(inspect.getsource(x) in check_str for x in com.checks):
# command the user specified has the is_owner check
return None, _(
"That command requires bot owner. I can't allow you to use that for an action"
return (
None,
_("That command requires bot owner. I can't allow you to use that for an action"),
)
return "{prefix}" + orig, None