mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-01-02 23:57:19 +00:00
[AB-xxx] re-designed twitch go live notification
This commit is contained in:
@@ -8,22 +8,12 @@
|
|||||||
<#assign viewerCount=currentSection.viewerCount>
|
<#assign viewerCount=currentSection.viewerCount>
|
||||||
"components": [
|
"components": [
|
||||||
<#assign additionalText><@safe_include "twitch_streamer_go_live_notification_text"/></#assign>
|
<#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",
|
"type": "section",
|
||||||
"components": [
|
"components": [
|
||||||
{
|
{
|
||||||
"type": "textDisplay",
|
"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>,
|
<#if pastSections?? && pastSections?size gt 0>,
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user