mirror of
https://github.com/allthingslinux/tux.git
synced 2024-10-02 16:43:12 +00:00
feat: Add input validation for the prefix
This commit is contained in:
parent
962e13656e
commit
6e951283bc
1 changed files with 1 additions and 1 deletions
|
@ -327,7 +327,7 @@ class Config(commands.GroupCog, group_name="config"):
|
|||
async def config_set_prefix(
|
||||
self,
|
||||
interaction: discord.Interaction,
|
||||
prefix: str,
|
||||
prefix: app_commands.Range[str, 1, 10],
|
||||
) -> None:
|
||||
"""
|
||||
Set the prefix for the guild.
|
||||
|
|
Loading…
Reference in a new issue