Skip to content

Commit

Permalink
feat: shorter max topic length (100)
Browse files Browse the repository at this point in the history
  • Loading branch information
eartharoid committed Mar 5, 2025
1 parent 5d43806 commit 96775df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/buttons/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/commands/slash/topic.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 96775df

Please sign in to comment.