From 406858b26fd074a8b7c7ed4a270dd1a2c4a52bd0 Mon Sep 17 00:00:00 2001 From: kingston 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()