Skip to content

Commit

Permalink
Increase preset name
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPowerGamerBR committed Nov 17, 2024
1 parent de018ae commit 5de0ceb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class PostCreateProfilePresetRoute(loritta: LorittaBot) : RequiresDiscordLoginLo
val activeBackgroundId = parameters.getOrFail("activeBackgroundId")
val presetName = parameters.getOrFail("presetName").trim()

if (presetName.length !in 0..20)
if (presetName.length !in 0..50)
error("Preset name too long")

val result = loritta.transaction {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class CreateProfilePresetView(
}

input(InputType.text) {
maxLength = "20"
maxLength = "50"
name = "presetName"
}
}
Expand Down

0 comments on commit 5de0ceb

Please sign in to comment.