aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-04-03 19:02:36 +0300
committerGravatar ks129 <[email protected]>2020-04-03 19:02:36 +0300
commitc30e5b16d48aea5bef792de9186e73d5df4a94e4 (patch)
treeac8390b4a6df97e13da2a8f992d2c245d9bde019
parent(Docs, discord.py 1.3.x Migrations): Replaced `ctx.invoke` with direct callin... (diff)
(Eval, discord.py 1.3.x Migrations): Replaced `help` command getting with `ctx.send_help`.
-rw-r--r--bot/cogs/eval.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/eval.py b/bot/cogs/eval.py
index 52136fc8d..2d52197e8 100644
--- a/bot/cogs/eval.py
+++ b/bot/cogs/eval.py
@@ -178,7 +178,7 @@ async def func(): # (None,) -> Any
async def internal_group(self, ctx: Context) -> None:
"""Internal commands. Top secret!"""
if not ctx.invoked_subcommand:
- await ctx.invoke(self.bot.get_command("help"), "internal")
+ await ctx.send_help("internal")
@internal_group.command(name='eval', aliases=('e',))
@with_role(Roles.admins, Roles.owners)