mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-04-17 12:34:48 +00:00
[AB-xxx] changing locale of templates to default, instead of explicitly en_US
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "addTwitchStreamer_response_description"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "changeTwitchStreamer_response_description"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#include "twitch_color">,
|
||||
"description": "<#list streamers as streamer>
|
||||
<#assign streamer=streamer>
|
||||
<#assign name=streamer.name>
|
||||
<#if streamer.targetChannel?has_content>
|
||||
<#assign targetChannel=streamer.targetChannel.channelMention>
|
||||
</#if>
|
||||
<#assign showNotificationsDisplay>${streamer.showNotifications?string('✅', '❌')}</#assign>
|
||||
<#assign streamerURL=streamer.streamerURL>
|
||||
<#include "listTwitchStreamer_response_streamer_display"><#sep>
|
||||
</#list>"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "removeTwitchStreamer_response_description"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<#include "streamer_already_exists_in_server_exception_message">
|
||||
@@ -0,0 +1 @@
|
||||
<#include "streamer_not_exists_exception_message">
|
||||
@@ -0,0 +1 @@
|
||||
<#include "streamer_not_exists_in_server_exception_message">
|
||||
@@ -0,0 +1,34 @@
|
||||
<#include "format_instant">
|
||||
{
|
||||
<#assign channelName=channelName>
|
||||
<#assign streamerAvatarURL=streamerAvatarURL>
|
||||
<#assign streamURL=streamURL>
|
||||
<#assign title=currentSection.title>
|
||||
<#assign thumbnail=currentSection.thumbnailURL>
|
||||
<#assign viewerCount=currentSection.viewerCount>
|
||||
"additionalMessage": "<@safe_include "twitch_streamer_go_live_notification_text"/>",
|
||||
"embeds": [
|
||||
{
|
||||
<#include "twitch_color">,
|
||||
"author": { "name": "${channelName}", "avatar": "${streamerAvatarURL}", "url": "${streamURL}"},
|
||||
"title": {
|
||||
"title": "${title?json_string}"
|
||||
},
|
||||
"description": "<@safe_include "twitch_streamer_go_live_notification_current_section"/> <#if pastSections?? && pastSections?size gt 0><@safe_include "twitch_streamer_go_live_notification_past_sections"/></#if>",
|
||||
"imageUrl": "${thumbnail}?${randomString}"
|
||||
}
|
||||
],
|
||||
"messageConfig": {
|
||||
"allowsRoleMention": true
|
||||
},
|
||||
"buttons": [
|
||||
{
|
||||
"label": "<@safe_include "twitch_streamer_go_live_notification_watch_button"/>",
|
||||
"url": "${streamURL?json_string}",
|
||||
"buttonStyle": "link",
|
||||
"metaConfig": {
|
||||
"persistCallback": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
<#include "format_instant">
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#include "twitch_color">,
|
||||
<#assign channelName=channelName>
|
||||
<#assign avatarURL=avatarURL>
|
||||
"title": {
|
||||
"title": "<@safe_include "twitch_streamer_went_offline_notification_title"/>"
|
||||
},
|
||||
"author": { "name": "${channelName}", "avatar": "${avatarURL}"},
|
||||
"description": "<@safe_include "twitch_streamer_went_offline_notification_past_sections"/>"
|
||||
<#if offlineImageURL??>,
|
||||
<#assign offlineImageURL=offlineImageURL>
|
||||
"imageUrl": "${offlineImageURL}"</#if>
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user