Fix command group: use @commands.group decorator instead of Group()

This commit is contained in:
2026-07-31 20:48:48 -05:00
parent 7fa85d7dd9
commit 3e1300112a
+5 -1
View File
@@ -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()