Correct arg names.
This commit is contained in:
@@ -34,7 +34,7 @@ class SettingsManagementCog(commands.Cog, name="Settings Management"):
|
||||
self,
|
||||
interaction: nextcord.Interaction,
|
||||
group_id: str = nextcord.SlashOption(
|
||||
name="Group", description="Category Group to assign to channel.", required=True
|
||||
name="group", description="Category Group to assign to channel.", required=True
|
||||
),
|
||||
channel: Optional[nextcord.abc.GuildChannel] = nextcord.SlashOption(
|
||||
description="Channel to register",
|
||||
@@ -134,7 +134,7 @@ class SettingsManagementCog(commands.Cog, name="Settings Management"):
|
||||
self,
|
||||
interaction: nextcord.Interaction,
|
||||
group_id: str = nextcord.SlashOption(
|
||||
name="Group", description="Category Group to assign pad length to.", required=True
|
||||
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