mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-20 18:06:08 -05:00
[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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user