fix(forums): added invoke_without_command to resolvedset show

This commit is contained in:
Seaswimmer 2023-09-08 13:58:46 -04:00
parent 47703e9a49
commit 0d46cbf969
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', aliases=['settings']) @resolvedset.group(name='show', invoke_without_command=True, 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()