mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-01-01 15:28:31 +00:00
[AB-xxx] re-designed twitch go live notification
This commit is contained in:
@@ -8,22 +8,12 @@
|
||||
<#assign viewerCount=currentSection.viewerCount>
|
||||
"components": [
|
||||
<#assign additionalText><@safe_include "twitch_streamer_go_live_notification_text"/></#assign>
|
||||
<#if additionalText?has_content>
|
||||
{
|
||||
"type": "textDisplay",
|
||||
"content": "${additionalText}"
|
||||
},
|
||||
</#if>
|
||||
{
|
||||
"type": "textDisplay",
|
||||
"content": "# ${title?json_string}"
|
||||
},
|
||||
{
|
||||
"type": "section",
|
||||
"components": [
|
||||
{
|
||||
"type": "textDisplay",
|
||||
"content": "<@safe_include "twitch_streamer_go_live_notification_current_section"/>"
|
||||
"content": "${(additionalText)!''}\n# ${title?json_string} \n <@safe_include "twitch_streamer_go_live_notification_current_section"/>"
|
||||
}
|
||||
<#if pastSections?? && pastSections?size gt 0>,
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user