fix(forums): fixed a single command being marked as a group command
Some checks reported warnings
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled

This commit is contained in:
Seaswimmer 2023-09-08 16:13:10 -04:00
parent f735637bdc
commit ca82cb181b
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -95,7 +95,7 @@ class Forums(commands.Cog):
async def resolvedset(self, ctx: commands.Context): async def resolvedset(self, ctx: commands.Context):
"""Manages the configuration for the [p]resolved command.""" """Manages the configuration for the [p]resolved command."""
@resolvedset.group(name='show', invoke_without_command=True, aliases=['settings']) @resolvedset.command(name='show', aliases=['settings'])
async def resolvedset_show(self, ctx: commands.Context): async def resolvedset_show(self, ctx: commands.Context):
"""Shows the current cog configuration.""" """Shows the current cog configuration."""
channel_id = await self.config.guild(ctx.guild).forum_channel() channel_id = await self.config.guild(ctx.guild).forum_channel()