Correct category pad default.

This commit is contained in:
alwayscompiling
2022-11-15 15:50:12 -05:00
parent dd73e9b472
commit 09f7a4323c
+2 -2
View File
@@ -120,7 +120,7 @@ class SettingsManagementCog(commands.Cog, name="Settings Management"):
self, self,
interaction: nextcord.Interaction, interaction: nextcord.Interaction,
length: Optional[int] = nextcord.SlashOption( length: Optional[int] = nextcord.SlashOption(
description="Number of characters.", required=True, default=25 description="Number of characters.", required=True, default=26
), ),
) -> None: ) -> None:
""" """
@@ -128,7 +128,7 @@ class SettingsManagementCog(commands.Cog, name="Settings Management"):
Args: Args:
interaction (nextcord.Interaction): Interaction that invoked the command interaction (nextcord.Interaction): Interaction that invoked the command
length (int): Number of characters. Is SlashOption. Defaults to 25. length (int): Number of characters. Is SlashOption. Defaults to 26.
""" """
guild = highscores_data.get_guild(interaction.guild_id) guild = highscores_data.get_guild(interaction.guild_id)