From 96775dfabcc36407f4d30631f3013390cf0107c2 Mon Sep 17 00:00:00 2001 From: Isaac Date: Wed, 5 Mar 2025 01:26:44 +0000 Subject: [PATCH] feat: shorter max topic length (100) --- src/buttons/edit.js | 2 +- src/commands/slash/topic.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/buttons/edit.js b/src/buttons/edit.js index a757e15..d51a03f 100644 --- a/src/buttons/edit.js +++ b/src/buttons/edit.js @@ -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); diff --git a/src/commands/slash/topic.js b/src/commands/slash/topic.js index 9eba52a..c6434e4 100644 --- a/src/commands/slash/topic.js +++ b/src/commands/slash/topic.js @@ -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);