Skip to content

Commit

Permalink
Fix editing badwords with permanent bans/mutes
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianVennen committed Oct 9, 2023
1 parent 2a5306e commit 4574a47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/settings/bad-word/EditBadWordCommand.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export default class EditBadWordCommand extends CompletingBadWordCommand {
.setStyle(TextInputStyle.Short)
.setPlaceholder('Punishment duration')
.setLabel('duration')
.setMinLength(1)
.setMinLength(0)
.setMaxLength(4000)
.setValue(formatTime(badWord.punishment.duration))
)
Expand Down

0 comments on commit 4574a47

Please sign in to comment.