Skip to content

Commit 39fbbb2

Browse files
committed
fixes
1 parent b99b49c commit 39fbbb2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

bot/cogs/config.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939

4040
if TYPE_CHECKING:
4141
from cogs.tickets import Tickets
42+
4243
from rodhaj import Rodhaj
4344

4445

@@ -791,7 +792,8 @@ async def config_options(
791792

792793
@is_manager()
793794
@commands.guild_only()
794-
@config.group(name="help", aliases=["info"])
795+
@config.command(name="help", aliases=["info"])
796+
@app_commands.describe(option="Configuration option to use for lookup")
795797
async def config_help(
796798
self, ctx: GuildContext, option: Annotated[str, ConfigKeyConverter]
797799
) -> None:
@@ -804,7 +806,7 @@ async def config_help(
804806

805807
@is_manager()
806808
@commands.guild_only()
807-
@config_help.command(name="all")
809+
@config.command(name="help-all")
808810
async def config_help_all(self, ctx: GuildContext):
809811
"""Shows all possible help information for all configurations"""
810812
# We need to separate this since we are using the key converter. If it is an invalid option, it passes back None,

0 commit comments

Comments
 (0)