From 2565b7689f90201b945b6c7fd93be71756a49b5b Mon Sep 17 00:00:00 2001 From: alwayscompiling Date: Fri, 2 Dec 2022 17:42:59 -0500 Subject: [PATCH] Correct arg names. --- cogs/commands/data_management.py | 6 +++--- cogs/commands/message_management.py | 2 +- cogs/commands/settings_management.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cogs/commands/data_management.py b/cogs/commands/data_management.py index 2ce36ae..bef3213 100644 --- a/cogs/commands/data_management.py +++ b/cogs/commands/data_management.py @@ -91,9 +91,9 @@ class DataManagementCog(commands.Cog, name="Table Management"): async def from_category( self, interaction: nextcord.Interaction, - group_id: str = nextcord.SlashOption(name="Group", description="Group to delete user from.", required=True), + group_id: str = nextcord.SlashOption(name="group", description="Group to delete user from.", required=True), category_id: str = nextcord.SlashOption( - name="Category", description="Category to delete user from.", required=True + name="category", description="Category to delete user from.", required=True ), user_name: str = nextcord.SlashOption(description="User to delete.", required=True), ): @@ -126,7 +126,7 @@ class DataManagementCog(commands.Cog, name="Table Management"): async def from_group( self, interaction: nextcord.Interaction, - group_id: str = nextcord.SlashOption(name="Group", description="Group to delete user from.", required=True), + group_id: str = nextcord.SlashOption(name="group", description="Group to delete user from.", required=True), user_name: str = nextcord.SlashOption(description="User to delete.", required=True), ): """ diff --git a/cogs/commands/message_management.py b/cogs/commands/message_management.py index 664bb54..c90810a 100644 --- a/cogs/commands/message_management.py +++ b/cogs/commands/message_management.py @@ -115,7 +115,7 @@ class MessageManagementCog(commands.Cog, name="Message Management"): async def refresh_group( self, interaction: nextcord.Interaction, - group_id: str = nextcord.SlashOption(name="Group", description="Name of Group.", required=True), + group_id: str = nextcord.SlashOption(name="group", description="Name of Group.", required=True), ) -> None: """ Refreshes a table given by user. diff --git a/cogs/commands/settings_management.py b/cogs/commands/settings_management.py index 50424be..13f2820 100644 --- a/cogs/commands/settings_management.py +++ b/cogs/commands/settings_management.py @@ -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: