Correct category pad default.
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user