[AB-xxx] adding templates for quick reply

fixing template for modmail setup
This commit is contained in:
Sheldan
2026-06-29 18:55:11 +02:00
parent 2820528ffc
commit 05fd976bc8
34 changed files with 81 additions and 0 deletions

View File

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

View File

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

View File

@@ -0,0 +1,5 @@
<#assign name=quickReply.name/>
<#assign content=quickReply.content/>
<#assign anonymous=quickReply.anonymous/>
<#assign creator=quickReply.creator.memberMention/>
<#include "listQuickReplies_entry_text">

View File

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

View File

@@ -0,0 +1,10 @@
{
"embeds": [
{
"description": "<#list row as quickReply><#assign quickReply=quickReply><@safe_include "listQuickReplies_entry"/>\n</#list>"
}
],
"buttons": [
<#include "paginator_buttons">
]
}

View File

@@ -0,0 +1,9 @@
{
<#assign exitOnly=innerModel.quickReplies?size lt 5/>
"embedConfigs": [
<#assign chunks=innerModel.quickReplies?chunk(4)>
<#list chunks as row><#assign counter=row?index><#assign row=row><#include "listQuickReplies_response_entry"><#sep>,</#list>
],
"timeoutSeconds": 120,
"restrictUser": true
}

View File

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

View File

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

View File

@@ -0,0 +1 @@
<#include "quick_reply_exists_exception_text">

View File

@@ -0,0 +1 @@
<#include "quick_reply_not_found_exception_text">

View File

@@ -0,0 +1,2 @@
Creates a quick reply to be used within modmail context.
This quick reply can be defined as anonymous, but this setting can be overruled when using the quick reply.

View File

@@ -0,0 +1 @@
Whether to send the quick reply anonymous

View File

@@ -0,0 +1 @@
The name to use for the quick reply

View File

@@ -0,0 +1 @@
The response to be used for the quick reply. Multi lines not possible.

View File

@@ -0,0 +1 @@
Do you really want to delete the quick reply?

View File

@@ -0,0 +1 @@
Permanently removes a quick reply from the system

View File

@@ -0,0 +1 @@
The name of the quick reply to remove

View File

@@ -0,0 +1 @@
Uses a paginator to be able to view all the quick replies

View File

@@ -0,0 +1 @@
Quick reply: **${name}** with response `${content}`${anonymous?string(' (anonymously)', '')}.

View File

@@ -0,0 +1 @@
Send a quick reply to the current modmail thread

View File

@@ -0,0 +1,2 @@
This command can be used to send a quick reply to the current modmail thread.
A parameter to overrule the anonymous setting for this particular usage is available.

View File

@@ -0,0 +1 @@
Whether to send the reply anonymous

View File

@@ -0,0 +1 @@
The name of the quick reply to send

View File

@@ -0,0 +1 @@
No quick reply found by that name.

View File

@@ -0,0 +1 @@
Quick reply already exists.