mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-01-28 08:38:44 +00:00
[AB-273] improving display of server features and adding text and voice channel count to server info
This commit is contained in:
@@ -29,6 +29,16 @@
|
|||||||
"value": "${guild.timeCreated}",
|
"value": "${guild.timeCreated}",
|
||||||
"inline": "true"
|
"inline": "true"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "<@safe_include "serverinfo_embed_text_channel_count_field_title"/>",
|
||||||
|
"value": "${guild.textChannels?size}",
|
||||||
|
"inline": "true"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "<@safe_include "serverinfo_embed_voice_channel_count_field_title"/>",
|
||||||
|
"value": "${guild.voiceChannels?size}",
|
||||||
|
"inline": "true"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "<@safe_include "serverinfo_embed_emote_count_title"/>",
|
"name": "<@safe_include "serverinfo_embed_emote_count_title"/>",
|
||||||
"value": "${guild.emotes?size}",
|
"value": "${guild.emotes?size}",
|
||||||
@@ -41,7 +51,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"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}<#sep>, <#else><@safe_include "serverinfo_embed_features_no_features"/></#list>",
|
||||||
"inline": "true"
|
"inline": "true"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
Text channel count
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Voice channel count
|
||||||
Reference in New Issue
Block a user