feat: shorter max topic length (100)

This commit is contained in:
Isaac
2025-03-05 01:26:44 +00:00
parent 5d4380698f
commit 96775dfabc
2 changed files with 2 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ module.exports = class EditButton extends Button {
.setCustomId('topic')
.setLabel(getMessage('modals.topic.label'))
.setStyle(TextInputStyle.Paragraph)
.setMaxLength(1000)
.setMaxLength(100)
.setMinLength(5)
.setPlaceholder(getMessage('modals.topic.placeholder'))
.setRequired(true);

View File

@@ -61,7 +61,7 @@ module.exports = class TopicSlashCommand extends SlashCommand {
.setCustomId('topic')
.setLabel(getMessage('modals.topic.label'))
.setStyle(TextInputStyle.Paragraph)
.setMaxLength(1000)
.setMaxLength(100)
.setMinLength(5)
.setPlaceholder(getMessage('modals.topic.placeholder'))
.setRequired(true);