[AB-xxx] reducing amount of vertical space used by uptime embed

This commit is contained in:
Sheldan
2021-04-19 22:24:45 +02:00
parent 2c4c1c1079
commit 4342747ab9

View File

@@ -1,15 +1,9 @@
{ {
<#include "abstracto_color">, <#include "abstracto_color">,
"fields": [ <#assign uptime>${fmtDuration(uptime)}</#assign>
{ "description": "${uptime}",
"name": "<@safe_include "uptime_response_embed_start_date_field_title"/>", "footer": {
<#assign startDate>${formatDate(startDate, "yyyy-MM-dd HH:mm:ss z")}</#assign> "text": "<@safe_include "uptime_response_embed_start_date_field_title"/>"
"value": "${startDate}" },
}, "timeStamp": "${startDate}"
{
"name": "<@safe_include "uptime_response_embed_uptime_field_title"/>",
<#assign uptime>${fmtDuration(uptime)}</#assign>
"value": "${uptime}"
}
]
} }