diff options
author | 2021-03-13 15:54:15 +0000 | |
---|---|---|
committer | 2021-03-13 15:54:15 +0000 | |
commit | d8b30f2a1a99f1c301c4d1e675dc708b90d0e652 (patch) | |
tree | 71d628789f60d93537a7bc040e520a8bb1c55f21 | |
parent | Use user reference passed via command (diff) |
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.
-rw-r--r-- | bot/exts/evergreen/profile_pic_modification/pfp_modify.py | 3 |
1 files changed, 2 insertions, 1 deletions
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: |