[AB-xxx] actively restricting length of slash command parameters if a validator is configured for the parameter (more easy solution than a separate one)

This commit is contained in:
Sheldan
2025-09-10 23:46:39 +02:00
parent e1d4a41d60
commit 78fbe0723b
10 changed files with 85 additions and 13 deletions

View File

@@ -158,7 +158,6 @@ public class LeaderBoardCommand extends AbstractConditionableCommand {
Parameter focusMe = Parameter
.builder()
.name(FOCUS_PARAMETER)
.validators(leaderBoardPageValidators)
.optional(true)
.slashCommandOnly(true)
.templated(true)