mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-05 09:41:27 +03:00
feat: shorter max topic length (100)
This commit is contained in:
@@ -42,7 +42,7 @@ module.exports = class EditButton extends Button {
|
|||||||
.setCustomId('topic')
|
.setCustomId('topic')
|
||||||
.setLabel(getMessage('modals.topic.label'))
|
.setLabel(getMessage('modals.topic.label'))
|
||||||
.setStyle(TextInputStyle.Paragraph)
|
.setStyle(TextInputStyle.Paragraph)
|
||||||
.setMaxLength(1000)
|
.setMaxLength(100)
|
||||||
.setMinLength(5)
|
.setMinLength(5)
|
||||||
.setPlaceholder(getMessage('modals.topic.placeholder'))
|
.setPlaceholder(getMessage('modals.topic.placeholder'))
|
||||||
.setRequired(true);
|
.setRequired(true);
|
||||||
|
@@ -61,7 +61,7 @@ module.exports = class TopicSlashCommand extends SlashCommand {
|
|||||||
.setCustomId('topic')
|
.setCustomId('topic')
|
||||||
.setLabel(getMessage('modals.topic.label'))
|
.setLabel(getMessage('modals.topic.label'))
|
||||||
.setStyle(TextInputStyle.Paragraph)
|
.setStyle(TextInputStyle.Paragraph)
|
||||||
.setMaxLength(1000)
|
.setMaxLength(100)
|
||||||
.setMinLength(5)
|
.setMinLength(5)
|
||||||
.setPlaceholder(getMessage('modals.topic.placeholder'))
|
.setPlaceholder(getMessage('modals.topic.placeholder'))
|
||||||
.setRequired(true);
|
.setRequired(true);
|
||||||
|
Reference in New Issue
Block a user