mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-01-27 20:39:08 +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}",
|
||||
"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"/>",
|
||||
"value": "${guild.emotes?size}",
|
||||
@@ -41,7 +51,7 @@
|
||||
},
|
||||
{
|
||||
"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"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user