From d8b30f2a1a99f1c301c4d1e675dc708b90d0e652 Mon Sep 17 00:00:00 2001 From: Chris Date: Sat, 13 Mar 2021 15:54:15 +0000 Subject: Use new help command ext Since sir-lancebot#625 was merged, we now have bot.utils.extensions.invoke_help_command which sends a nicely formatted help embed. --- bot/exts/evergreen/profile_pic_modification/pfp_modify.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bot') diff --git a/bot/exts/evergreen/profile_pic_modification/pfp_modify.py b/bot/exts/evergreen/profile_pic_modification/pfp_modify.py index aa0f0404..b13ba574 100644 --- a/bot/exts/evergreen/profile_pic_modification/pfp_modify.py +++ b/bot/exts/evergreen/profile_pic_modification/pfp_modify.py @@ -12,6 +12,7 @@ from discord.ext.commands.errors import BadArgument from bot.constants import Colours from bot.exts.evergreen.profile_pic_modification._effects import PfpEffects +from bot.utils.extensions import invoke_help_command from bot.utils.halloween import spookifications log = logging.getLogger(__name__) @@ -44,7 +45,7 @@ class PfpModify(commands.Cog): async def pfp_modify(self, ctx: commands.Context) -> None: """Groups all of the pfp modifying commands to allow a single concurrency limit.""" if not ctx.invoked_subcommand: - await ctx.send_help(ctx.command) + await invoke_help_command(ctx) @pfp_modify.command(name="8bitify", root_aliases=("8bitify",)) async def eightbit_command(self, ctx: commands.Context) -> None: -- cgit v1.2.3