mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-03-07 00:30:50 +00:00
[AB-200] adapting link embed template for changes
moving link embed templates to proper package adapting module help response to new structure
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"title": {
|
||||
<#assign name=module.moduleInterface.info.name/>
|
||||
<#assign name=module.moduleDefinition.info.name/>
|
||||
"title": "<@safe_include "help_module_embed_title"/>"
|
||||
},
|
||||
<#include "abstracto_color">,
|
||||
"description": "
|
||||
<@safe_include "help_module_embed_module_name"/>: **${name?js_string}**
|
||||
<@safe_include "help_module_embed_module_description"/>: <#if module.moduleInterface.info.templated?? && module.moduleInterface.info.templated><@safe_include "module_${name}_description"/><#else>${module.moduleInterface.info.description?js_string}</#if>
|
||||
<@safe_include "help_module_embed_module_description"/>: <#if module.moduleDefinition.info.templated?? && module.moduleDefinition.info.templated><@safe_include "module_${name}_description"/><#else>${module.moduleDefinition.info.description?js_string}</#if>
|
||||
<@safe_include "help_module_embed_commands"/>:
|
||||
<#list module.commands as command>`${command.configuration.name?js_string}`<#sep>, <#else><@safe_include "help_module_no_commands_available"/></#list>
|
||||
<#if subModules?has_content && subModules?size gt 0>
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
{
|
||||
<#include "member_author">
|
||||
<@member_author member=author/>,
|
||||
"author": {
|
||||
"name": "${author.name?js_string}#${author.discriminator}",
|
||||
"avatar": "${author.effectiveAvatarUrl}"
|
||||
},
|
||||
<#include "abstracto_color">,
|
||||
<#if embeddedMessage.content?has_content || embeddedMessage.embeds?size gt 0>
|
||||
"description": "${embeddedMessage.content?js_string}
|
||||
|
||||
Reference in New Issue
Block a user