[AB-xxx] adding templates for thread reminders and auto closing

This commit is contained in:
Sheldan
2026-04-24 18:03:41 +02:00
parent d9baaf44d9
commit 76dca7e97a
17 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "setThreadPause_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "snoozeThreadReminder_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -0,0 +1,7 @@
<#include "format_instant">
{
<#assign lastUpdated><@format_instant_relative instant=updated/></#assign>
<#assign autoCloseTime><#if autoCloseInstant?has_content><@format_instant_relative instant=autoCloseInstant/></#if></#assign>
<#assign threadIsPaused=paused/>
"additionalMessage": "<@safe_include "modmail_thread_reminder_notification_embed_text"/><#if threadIsPaused> <@safe_include "modmail_thread_reminder_notification_paused_text"/></#if><#if autoCloseInstant?has_content> <@safe_include "modmail_thread_reminder_notification_auto_close_text"/></#if>"
}

View File

@@ -0,0 +1,2 @@
This command can be used to pause or unpause threads.
A paused thread will not be closed, messages are still possible.

View File

@@ -0,0 +1 @@
Whether to pause or unpause the thread

View File

@@ -0,0 +1 @@
Thread pause state has been updated.

View File

@@ -0,0 +1 @@
This command snoozes the reminders for a modmail thread for a defined period of time.

View File

@@ -0,0 +1 @@
Duration format defining the duration after how much a modmail thread should be closed without activity. Default: `${defaultValue}`

View File

@@ -0,0 +1 @@
Duration format defining the duration after which the moderators should be reminded about the thread. Default: `${defaultValue}`

View File

@@ -0,0 +1 @@
Automatically closed

View File

@@ -0,0 +1 @@
Thread will be closed ${autoCloseTime}, unless there are more messages being sent or the thread is paused.

View File

@@ -0,0 +1 @@
Thread was last updated ${lastUpdated}.