From 4574a47883cccf7e12c3c81f23f47c2e2e2cd3a8 Mon Sep 17 00:00:00 2001 From: Julian Date: Mon, 9 Oct 2023 13:09:34 +0200 Subject: [PATCH] Fix editing badwords with permanent bans/mutes --- src/commands/settings/bad-word/EditBadWordCommand.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/settings/bad-word/EditBadWordCommand.js b/src/commands/settings/bad-word/EditBadWordCommand.js index d7e6050e5..9060f0af4 100644 --- a/src/commands/settings/bad-word/EditBadWordCommand.js +++ b/src/commands/settings/bad-word/EditBadWordCommand.js @@ -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)) )