Clarify parameter name for users, correct id usage for autofills.
This commit is contained in:
@@ -33,7 +33,9 @@ class SettingsManagementCog(commands.Cog, name="Settings Management"):
|
||||
async def group_output_channel(
|
||||
self,
|
||||
interaction: nextcord.Interaction,
|
||||
group_id: str = nextcord.SlashOption(description="Category Group to assign to channel.", required=True),
|
||||
group_id: str = nextcord.SlashOption(
|
||||
name="Group", description="Category Group to assign to channel.", required=True
|
||||
),
|
||||
channel: Optional[nextcord.abc.GuildChannel] = nextcord.SlashOption(
|
||||
description="Channel to register",
|
||||
required=False,
|
||||
@@ -131,7 +133,9 @@ class SettingsManagementCog(commands.Cog, name="Settings Management"):
|
||||
async def category_pad_length(
|
||||
self,
|
||||
interaction: nextcord.Interaction,
|
||||
group_id: str = nextcord.SlashOption(description="Category Group to assign pad length to.", required=True),
|
||||
group_id: str = nextcord.SlashOption(
|
||||
name="Group", description="Category Group to assign pad length to.", required=True
|
||||
),
|
||||
length: int = nextcord.SlashOption(description="Number of characters.", required=True, default=26),
|
||||
) -> None:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user