[AB-xxx] adding templates necessary for modmail thread support

adding validation message to enableFeature response
This commit is contained in:
Sheldan
2023-12-24 23:25:52 +01:00
parent 6dd3b70bb2
commit 5a00f213da
5 changed files with 7 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
{ {
"additionalMessage": "<@safe_include "enableFeature_response_text"/>", "additionalMessage": "<@safe_include "enableFeature_response_text"/><#if validationText?has_content>${validationText}</#if>",
"messageConfig": { "messageConfig": {
"ephemeral": true "ephemeral": true
} }

View File

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

View File

@@ -8,13 +8,15 @@
}, },
<#include "modmail_color">, <#include "modmail_color">,
<#assign user><@member_user_name member=member/>(${member.user.id})</#assign> <#assign user><@member_user_name member=member/>(${member.user.id})</#assign>
"description": "<@safe_include "modmail_notification_message_description"/>", "description": "<@safe_include "modmail_notification_message_description"/>"
<#if channel?has_content>,
"fields": [ "fields": [
{ {
"name": "<@safe_include "modmail_notification_field_title_channel"/>", "name": "<@safe_include "modmail_notification_field_title_channel"/>",
"value": "${channel.asMention}" "value": "${channel.asMention}"
} }
] ]
</#if>
} }
], ],
"messageConfig": { "messageConfig": {

View File

@@ -0,0 +1 @@
The thread container for modmail is not correctly setup.

View File

@@ -0,0 +1 @@
The channel which should contain the modmail threads. (In the appropriate mode). This must be a channel that can contain threads. Currently: ${currentTarget}