mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-04-25 06:44:49 +00:00
[AB-74] refactoring server info command to make use
This commit is contained in:
@@ -1 +0,0 @@
|
|||||||
${object.asMention}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
<#assign additionalInfo><#if count gt 1>${count}<#else><#assign count>${list?size}</#assign><#include "serverinfo_embed_emotes_title_total_emotes"></#if></#assign><#include "serverinfo_embed_emotes_field_title_message">
|
|
||||||
@@ -29,7 +29,16 @@
|
|||||||
"value": "${guild.timeCreated}",
|
"value": "${guild.timeCreated}",
|
||||||
"inline": "true"
|
"inline": "true"
|
||||||
},
|
},
|
||||||
${safeFieldLength(guild.emotes, 'emote_mention', 'serverinfo_embed_emotes_field_title', 'false')},
|
{
|
||||||
|
"name": "<@safe_include "serverinfo_embed_emote_count_title"/>",
|
||||||
|
"value": "${guild.emotes?size}",
|
||||||
|
"inline": "true"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "<@safe_include "serverinfo_embed_emotes_title"/>",
|
||||||
|
"value": "<#list guild.emotes as emote>${emote.asMention}<#sep> <#else><@safe_include "serverinfo_embed_emotes_no_emotes"/></#list>",
|
||||||
|
"inline": "true"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "<@safe_include "serverinfo_embed_features_field_title"/>",
|
"name": "<@safe_include "serverinfo_embed_features_field_title"/>",
|
||||||
"value": "<#list guild.features as feature>${feature}<#else><@safe_include "serverinfo_embed_features_no_features"/></#list>",
|
"value": "<#list guild.features as feature>${feature}<#else><@safe_include "serverinfo_embed_features_no_features"/></#list>",
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
Custom emote count
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
No emotes
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Custom emotes
|
||||||
@@ -1 +0,0 @@
|
|||||||
(Total emotes ${count})
|
|
||||||
Reference in New Issue
Block a user