mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-01-01 15:28:31 +00:00
[AB-xxx] adding templates necessary for modmail thread support
adding validation message to enableFeature response
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,3 @@
|
|||||||
{
|
{
|
||||||
"additionalMessage": "<@safe_include "contact_response_text"/>",
|
"additionalMessage": "<@safe_include "contact_response_text"/>"
|
||||||
"messageConfig": {
|
|
||||||
"ephemeral": true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -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": {
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
The thread container for modmail is not correctly setup.
|
||||||
@@ -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}
|
||||||
Reference in New Issue
Block a user