(v4.1) Additional autoclose/autodelete features

This commit is contained in:
DJj123dj
2025-11-04 19:53:40 +01:00
parent e55438cc67
commit 4b485adf82
8 changed files with 11 additions and 9 deletions
-2
View File
@@ -235,8 +235,6 @@ export interface ODJsonConfig_DefaultSystem {
replyOnTicketCreation:boolean,
/**Reply with an ephemeral message when reaction roles are changed. */
replyOnReactionRole:boolean,
/**Show a warning message before the ticket gets autoclosed. This will happen when only 1/4th of the autoclose time remains. */
showPreAutocloseWarning:boolean,
/**Ask for the priority of this ticket on ticket creation. This will happen in a dropdown in the ticket message. */
askPriorityOnTicketCreation:boolean,
/**Remove all participants (except admins) from the ticket when it's closed. */
-1
View File
@@ -1239,7 +1239,6 @@ async function saveQuickSetupConfig(){
replyOnTicketCreation:false,
replyOnReactionRole:true,
showPreAutocloseWarning:false,
askPriorityOnTicketCreation:false,
removeParticipantsOnClose:quickSetupStorage.removeParticipantsOnClose ?? false,
disableAutocloseAfterReopen:true,
-1
View File
@@ -57,7 +57,6 @@ export const migrations = [
generalConfig.data.system.showGlobalAdminsInPanelRoles = false
generalConfig.data.system.alwaysShowReason = false
generalConfig.data.system.pinEmoji = "📌"
generalConfig.data.system.showPreAutocloseWarning = false
generalConfig.data.system.askPriorityOnTicketCreation = false
generalConfig.data.system.disableAutocloseAfterReopen = true
generalConfig.data.system.autodeleteRequiresClosedTicket = true