mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-03-04 23:40:36 +00:00
[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:
@@ -158,7 +158,6 @@ public class LeaderBoardCommand extends AbstractConditionableCommand {
|
||||
Parameter focusMe = Parameter
|
||||
.builder()
|
||||
.name(FOCUS_PARAMETER)
|
||||
.validators(leaderBoardPageValidators)
|
||||
.optional(true)
|
||||
.slashCommandOnly(true)
|
||||
.templated(true)
|
||||
|
||||
Reference in New Issue
Block a user