aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/core/internal_eval
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2022-08-23 20:46:14 +0100
committerGravatar Chris Lovering <[email protected]>2022-09-21 23:02:55 +0100
commitcc2dcdcdbf9e6057053bdb72bba848f4c2e19cbd (patch)
tree75c87793362d786bb2c45fea8fb235435e44c315 /bot/exts/core/internal_eval
parentMove startup checks and logs to their own cog (diff)
Use extension utils from bot-core
Diffstat (limited to 'bot/exts/core/internal_eval')
-rw-r--r--bot/exts/core/internal_eval/_internal_eval.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bot/exts/core/internal_eval/_internal_eval.py b/bot/exts/core/internal_eval/_internal_eval.py
index 190a15ec..2daf8ef9 100644
--- a/bot/exts/core/internal_eval/_internal_eval.py
+++ b/bot/exts/core/internal_eval/_internal_eval.py
@@ -9,7 +9,6 @@ from discord.ext import commands
from bot.bot import Bot
from bot.constants import Client, Roles
from bot.utils.decorators import with_role
-from bot.utils.extensions import invoke_help_command
from ._helpers import EvalContext
@@ -154,7 +153,7 @@ class InternalEval(commands.Cog):
async def internal_group(self, ctx: commands.Context) -> None:
"""Internal commands. Top secret!"""
if not ctx.invoked_subcommand:
- await invoke_help_command(ctx)
+ await self.bot.invoke_help_command(ctx)
@internal_group.command(name="eval", aliases=("e",))
@with_role(Roles.admins)