mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-23 01:25:02 +00:00
enum moment
This commit is contained in:
parent
3b14d83065
commit
f24587860c
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ export const StartThreadAction = automodAction({
|
|||
const guild = pluginData.guild;
|
||||
const archiveSet = actionConfig.auto_archive
|
||||
? Math.ceil(Math.max(convertDelayStringToMS(actionConfig.auto_archive) ?? 0, 0) / MINUTES)
|
||||
: 1400;
|
||||
: ThreadAutoArchiveDuration.OneDay;
|
||||
let autoArchive: ThreadAutoArchiveDuration;
|
||||
if (archiveSet === ThreadAutoArchiveDuration.OneDay) {
|
||||
autoArchive = ThreadAutoArchiveDuration.OneDay;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue