mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-01-06 01:11:01 +00:00
[AB-103] adding templates for custom command configuration commands
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#include "abstracto_color">,
|
||||
"description": "<@safe_include "createCustomCommand_response_description"/>"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#include "abstracto_color">,
|
||||
"description": "<@safe_include "deleteCustomCommand_response_description"/>"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "getCustomCommand_response_text"/>"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
<#assign name=command.name/>
|
||||
<#assign content=command.content/>
|
||||
<#assign creator=command.creator.memberMention/>
|
||||
<#include "listCustomCommands_entry_text">
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#include "abstracto_color">,
|
||||
"description": "<@safe_include "listCustomCommands_no_commands_response_text"/>"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
"description": "<#list row as command><#assign command=command><@safe_include "listCustomCommands_entry"/>\n</#list>"
|
||||
}
|
||||
],
|
||||
"buttons": [
|
||||
<#include "paginator_buttons">
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
<#assign exitOnly=innerModel.customCommands?size lt 5/>
|
||||
"embedConfigs": [
|
||||
<#assign chunks=innerModel.customCommands?chunk(4)>
|
||||
<#list chunks as row><#assign counter=row?index><#assign row=row><#include "listCustomCommands_response_entry"><#sep>,</#list>
|
||||
],
|
||||
"timeoutSeconds": 120,
|
||||
"restrictUser": true
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<#include "custom_command_exists_exception_text">
|
||||
@@ -0,0 +1 @@
|
||||
<#include "custom_command_not_found_exception_text">
|
||||
Reference in New Issue
Block a user