From 3e1300112ac9b726d3ba697b766a546969c5e523 Mon Sep 17 00:00:00 2001 From: Kingston-SCYD Date: Fri, 31 Jul 2026 20:48:48 -0500 Subject: [PATCH] Fix command group: use @commands.group decorator instead of Group() --- assistant/assistant.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/assistant/assistant.py b/assistant/assistant.py index 0f20692..3a1a7fb 100644 --- a/assistant/assistant.py +++ b/assistant/assistant.py @@ -167,7 +167,11 @@ class Assistant(commands.Cog): # Commands # --------------------------------------------------------------------------- - assistant = commands.Group("assistant", "AI assistant settings.", guild_only=True) + @commands.group(name="assistant", invoke_without_command=True) + @commands.guild_only() + async def assistant(self, ctx: commands.Context): + """AI assistant settings.""" + await ctx.send_help(ctx.command) @assistant.command(name="setkey") @checks.is_owner()