mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-07-06 04:38:43 +00:00
[AB-xxx] adding templates for quick reply
fixing template for modmail setup
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"additionalMessage": "<@safe_include "createQuickReply_response_text"/>",
|
||||||
|
"messageConfig": {
|
||||||
|
"ephemeral": true
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"additionalMessage": "<@safe_include "deleteQuickReply_response_text"/>",
|
||||||
|
"messageConfig": {
|
||||||
|
"ephemeral": true
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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">
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"additionalMessage": "<@safe_include "listQuickReplies_no_quick_replies_response_text"/>",
|
||||||
|
"messageConfig": {
|
||||||
|
"ephemeral": true
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"embeds": [
|
||||||
|
{
|
||||||
|
"description": "<#list row as quickReply><#assign quickReply=quickReply><@safe_include "listQuickReplies_entry"/>\n</#list>"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"buttons": [
|
||||||
|
<#include "paginator_buttons">
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -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
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"additionalMessage": "<@safe_include "quickReply_no_quick_reply_response_text"/>",
|
||||||
|
"messageConfig": {
|
||||||
|
"ephemeral": true
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"additionalMessage": "<@safe_include "quickReply_response_text"/>",
|
||||||
|
"messageConfig": {
|
||||||
|
"ephemeral": true
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
<#include "quick_reply_exists_exception_text">
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
<#include "quick_reply_not_found_exception_text">
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Quick reply created
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Creates a quick reply
|
||||||
@@ -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.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Whether to send the quick reply anonymous
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
The name to use for the quick reply
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
The response to be used for the quick reply. Multi lines not possible.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Do you really want to delete the quick reply?
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Quick reply deleted
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Removes a quick reply
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Permanently removes a quick reply from the system
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
The name of the quick reply to remove
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Lists all quick replies
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Uses a paginator to be able to view all the quick replies
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Quick reply: **${name}** with response `${content}`${anonymous?string(' (anonymously)', '')}.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
No quick replies found.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Send a quick reply to the current modmail thread
|
||||||
@@ -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.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Whether to send the reply anonymous
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
The name of the quick reply to send
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
No quick reply found by that name.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Quick reply sent
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Quick reply already exists.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Quick reply not found.
|
||||||
Reference in New Issue
Block a user