Reduce minimum reason size for moderation

This commit is contained in:
Ninjdai1 2023-10-25 16:35:30 +02:00
parent eadbc7ba8e
commit dbfd521da9

View File

@ -53,7 +53,7 @@ const modpanelModalList = {
.setCustomId("reason") .setCustomId("reason")
.setLabel("Raison du ban") .setLabel("Raison du ban")
.setStyle(TextInputStyle.Paragraph) .setStyle(TextInputStyle.Paragraph)
.setMinLength(10) .setMinLength(4)
.setMaxLength(1000) .setMaxLength(1000)
.setPlaceholder("Ex: Insultes, Irrespect") .setPlaceholder("Ex: Insultes, Irrespect")
.setRequired(true), .setRequired(true),
@ -79,7 +79,7 @@ const modpanelModalList = {
.setCustomId("reason") .setCustomId("reason")
.setLabel("Raison du kick") .setLabel("Raison du kick")
.setStyle(TextInputStyle.Paragraph) .setStyle(TextInputStyle.Paragraph)
.setMinLength(10) .setMinLength(4)
.setMaxLength(1000) .setMaxLength(1000)
.setPlaceholder("Ex: Insultes, Irrespect") .setPlaceholder("Ex: Insultes, Irrespect")
.setRequired(true), .setRequired(true),
@ -105,7 +105,7 @@ const modpanelModalList = {
.setCustomId("reason") .setCustomId("reason")
.setLabel("Raison du mute") .setLabel("Raison du mute")
.setStyle(TextInputStyle.Paragraph) .setStyle(TextInputStyle.Paragraph)
.setMinLength(10) .setMinLength(4)
.setMaxLength(1000) .setMaxLength(1000)
.setPlaceholder("Ex: Spam") .setPlaceholder("Ex: Spam")
.setRequired(true), .setRequired(true),
@ -140,7 +140,7 @@ const modpanelModalList = {
.setCustomId("reason") .setCustomId("reason")
.setLabel("Raison du warn") .setLabel("Raison du warn")
.setStyle(TextInputStyle.Paragraph) .setStyle(TextInputStyle.Paragraph)
.setMinLength(10) .setMinLength(4)
.setMaxLength(1000) .setMaxLength(1000)
.setPlaceholder("Ex: Spam") .setPlaceholder("Ex: Spam")
.setRequired(true), .setRequired(true),