Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
Tiago R 2023-11-26 16:10:10 +00:00
parent 2e0598194f
commit aa1f11e801
8 changed files with 7 additions and 11 deletions

View file

@ -41,7 +41,6 @@ export const StartThreadAction = automodAction({
return true;
});
const guild = pluginData.guild;
const archiveSet = actionConfig.auto_archive
? Math.ceil(Math.max(convertDelayStringToMS(actionConfig.auto_archive) ?? 0, 0) / MINUTES)
: ThreadAutoArchiveDuration.OneDay;