[AB-103] adding templates for custom command configuration commands

This commit is contained in:
Sheldan
2023-09-05 01:25:28 +02:00
parent b5d6b964e2
commit 6819b13439
28 changed files with 72 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
{
"embeds": [
{
<#include "abstracto_color">,
"description": "<@safe_include "createCustomCommand_response_description"/>"
}
]
}

View File

@@ -0,0 +1,8 @@
{
"embeds": [
{
<#include "abstracto_color">,
"description": "<@safe_include "deleteCustomCommand_response_description"/>"
}
]
}

View File

@@ -0,0 +1,3 @@
{
"additionalMessage": "<@safe_include "getCustomCommand_response_text"/>"
}

View File

@@ -0,0 +1,4 @@
<#assign name=command.name/>
<#assign content=command.content/>
<#assign creator=command.creator.memberMention/>
<#include "listCustomCommands_entry_text">

View File

@@ -0,0 +1,8 @@
{
"embeds": [
{
<#include "abstracto_color">,
"description": "<@safe_include "listCustomCommands_no_commands_response_text"/>"
}
]
}

View File

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

View File

@@ -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
}

View File

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

View File

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