Compare commits

...

21 Commits

Author SHA1 Message Date
release-bot
782b83143c [maven-release-plugin] prepare for next development iteration 2025-11-12 22:48:17 +00:00
release-bot
a188aa1bf3 [maven-release-plugin] prepare release templates-1.4.62 2025-11-12 22:48:16 +00:00
Sheldan
20a5f906b1 [AB-xxx] align leave log templates to new structure 2025-11-12 23:46:48 +01:00
Sheldan
7105a4ce80 [AB-xxx] replacing duplicated user id display from modmail thread header 2025-10-12 23:41:20 +02:00
release-bot
739019010a [maven-release-plugin] prepare for next development iteration 2025-10-12 18:12:11 +00:00
release-bot
50793b7cc9 [maven-release-plugin] prepare release templates-1.4.61 2025-10-12 18:12:10 +00:00
Sheldan
82966741d7 [AB-xxx] adding template for slash command suggestion 2025-10-12 20:10:31 +02:00
release-bot
b6f5da75e2 [maven-release-plugin] prepare for next development iteration 2025-08-04 18:41:43 +00:00
release-bot
e2bf44d8a4 [maven-release-plugin] prepare release templates-1.4.60 2025-08-04 18:41:41 +00:00
Sheldan
70c05a693e [AB-xxx] re-designed twitch go live notification 2025-07-30 22:33:39 +02:00
Sheldan
08af324360 [AB-xxx] removing debug string from starboard post 2025-07-21 16:26:30 +02:00
release-bot
a5e002cdd5 [maven-release-plugin] prepare for next development iteration 2025-07-20 08:48:01 +00:00
release-bot
c19d1f3014 [maven-release-plugin] prepare release templates-1.4.59 2025-07-20 08:47:59 +00:00
Sheldan
06ef5fc43b [AB-xxx] adding avatar to message embed
adding avatar to starboard post
adding possibility to define a color for the starboard container
fixing attachment logic for starboard post
fixing streamer went offline message not using components v2
2025-07-19 23:57:43 +02:00
release-bot
8bb07ee281 [maven-release-plugin] prepare for next development iteration 2025-07-13 19:54:16 +00:00
release-bot
1f4a11c320 [maven-release-plugin] prepare release templates-1.4.58 2025-07-13 19:54:15 +00:00
Sheldan
4292f53d03 [AB-xxx] adding template necessary for embedded message cleanup 2025-07-13 21:52:58 +02:00
release-bot
2987742132 [maven-release-plugin] prepare for next development iteration 2025-07-13 17:50:35 +00:00
release-bot
33e1770f44 [maven-release-plugin] prepare release templates-1.4.57 2025-07-13 17:50:33 +00:00
Sheldan
518b54790c [AB-xxx] refactoring some embeds to use components v2 2025-07-13 19:46:37 +02:00
release-bot
5fabc47cf8 [maven-release-plugin] prepare for next development iteration 2025-05-29 20:05:02 +00:00
83 changed files with 412 additions and 218 deletions

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>core</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
<build>
<plugins>

View File

@@ -0,0 +1,9 @@
{
"embeds": [
{
<#include "abstracto_color">,
<#assign slashCommandPath=slashCommandPath>
"description": "<@safe_include "slash_command_suggestion_text"/>"
}
]
}

View File

@@ -3,7 +3,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>experience-tracking</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
<build>
<plugins>
<plugin>

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<artifactId>giveaway</artifactId>

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<artifactId>image-generation</artifactId>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -0,0 +1,12 @@
{
<#assign messageLink=message.jumpUrl>
"components": [
{
"type": "textDisplay",
"content": "<@safe_include "message_embed_cleanup_replacement_text"/>"
}
],
"messageConfig": {
"useComponentsV2": true
}
}

View File

@@ -1,70 +1,137 @@
{
"embeds": [
"components": [
{
<#if author??>
<#include "user_author">
<@user_author user=author/>
<#else>
<#include "deleted_user_author"/>
</#if>,
<#include "abstracto_color">,
<#if embeddedMessage.content?has_content || embeddedMessage.embeds?size gt 0>
"description": "${embeddedMessage.content?json_string}
<#list embeddedMessage.embeds>
<@safe_include "message_embed_embed_embeds_name"/>:
<#items as embed><#assign embed=embed/>
<@safe_include "message_embed_embed_description"/>: <#if embed.description?has_content >${embed.description?json_string}</#if> <#if embed.imageUrl?has_content> <@safe_include "message_embed_embed_image_url"/>: ${embed.imageUrl} </#if>
</#items>
</#list>
",
</#if>
<#if embeddedMessage.attachments?size gt 0 && !embeddedMessage.attachments[0].spoiler>
"imageUrl": "${embeddedMessage.attachments[0].proxyUrl}",
<#elseif embeddedMessage.attachments?size = 0 && embeddedMessage.embeds?size gt 0 && embeddedMessage.embeds[0].cachedThumbnail??>
"imageUrl": "${embeddedMessage.embeds[0].cachedThumbnail.proxyUrl}",
<#elseif embeddedMessage.attachments?size = 0 && embeddedMessage.embeds?size gt 0 && embeddedMessage.embeds[0].cachedImageInfo??>
"imageUrl": "${embeddedMessage.embeds[0].cachedImageInfo.proxyUrl}",
</#if>
"fields": [
{
"name": "<@safe_include "message_embed_embed_quoted_by_field_title"/>",
<#assign user>${embeddingUser.asMention?json_string}</#assign>
<#assign channelName>${sourceChannel.name?json_string}</#assign>
<#assign messageLink>${embeddedMessage.messageUrl}</#assign>
"value": "<@safe_include "message_embed_embed_quoted_by_field_value"/>"
<#assign userFound=author??>
<#include "user_user_name">
<#assign userText><#if author??><@user_user_name user=author/><#else><@safe_include "delete_user_name"/></#if></#assign>
<#include "member_user_name">
<#assign embeddingUserText><@member_user_name member=embeddingUser/></#assign>
<#assign userAvatar><#if author??>${author.effectiveAvatarUrl}</#if></#assign>
<#if userFound>
"type": "section",
"components": [
{
"type": "textDisplay",
"content": "<@safe_include "message_embed_meta_info"/>"
}
],
"accessory": {
"type": "thumbnail",
"url": "${userAvatar}"
}
<#if embeddedMessage.referencedMessage??>
,
<#else>
"type": "textDisplay",
"content": "<@safe_include "message_embed_meta_info"/>"
</#if>
},
{
"type": "container",
"components": [
<#assign hasContent=false>
<#if embeddedMessage.content?has_content>
<#assign hasContent=true>
{
<#assign referencedMessageLink=embeddedMessage.referencedMessage.messageUrl/>
<#assign repliedToAuthorMention>${r"<@"}${embeddedMessage.referencedMessage.author.authorId?c}${r">"}</#assign>
"name": "<@safe_include "message_embed_embed_referenced_message_field_title"/>",
"value": "<@safe_include "message_embed_embed_referenced_message_field_value"/>"
"type": "textDisplay",
"content": "${embeddedMessage.content?json_string}"
}
</#if>
<#list embeddedMessage.embeds as embed>
<#if embed.description?has_content>
,{
<#assign hasContent=true>
"type": "section",
"components": [
{
"type": "textDisplay",
"content": "${embed.description?json_string}"
}
]
<#if (embed.cachedImageInfo?has_content && embed.cachedImageInfo.proxyUrl?has_content) || (embed.cachedThumbnail?has_content && embed.cachedThumbnail.proxyUrl?has_content)>
,"accessory": {
"type": "thumbnail",
"url": "${(embed.cachedImageInfo.proxyUrl)!embed.cachedThumbnail.proxyUrl}"
}
</#if>
}
<#elseif (embed.cachedImageInfo?has_content && embed.cachedImageInfo.proxyUrl?has_content && embed.cachedImageInfo.width gt 0)
|| (embed.cachedThumbnail?has_content && embed.cachedThumbnail.proxyUrl?has_content && embed.cachedThumbnail.width gt 0)>
<#assign hasContent=true>
{
"type": "mediaGallery",
"images": [
{
"url": "${(embed.cachedImageInfo.proxyUrl)!embed.cachedThumbnail.proxyUrl}"
}
]
}
</#if>
],
"timeStamp": "${embeddedMessage.timeCreated}"
}
]
<#if useButton>
,"buttons": [
{
"label": "<@safe_include "message_embed_button_delete"/>",
"id": "${buttonConfigModel.buttonId}",
"buttonStyle": "danger",
"metaConfig": {
"persistCallback": false
</#list>
<#if embeddedMessage.attachments?size gt 0>
<#list embeddedMessage.attachments?filter(x -> x.width gt 0)>
,{
<#assign hasContent=true>
"type": "mediaGallery",
"images": [
<#items as attachment>
{
"url": "${attachment.proxyUrl}"
}</#items>
]
}<#sep>,</#list>
</#if>
<#if hasContent==false>
{
"type": "textDisplay",
"content": "<@safe_include "message_embed_no_content"/>"
}
</#if>
]
}
,{
"type": "actionRow",
"actionRowItems": [
{
<#assign channelName>${sourceChannel.name?json_string}</#assign>
<#assign messageLink>${embeddedMessage.messageUrl}</#assign>
"type": "button",
"label": "<#include "message_embed_original_button_label">",
"url": "${messageLink}",
"buttonStyle": "link"
}
<#if useButton>
,{
"label": "<@safe_include "message_embed_button_delete"/>",
"id": "${buttonConfigModel.buttonId}",
"buttonStyle": "danger",
"type": "button",
"metaConfig": {
"persistCallback": false
}
}
</#if>
<#if embeddedMessage.referencedMessage??>
,
{
"type": "button",
<#assign referencedMessageLink=embeddedMessage.referencedMessage.messageUrl/>
"label": "<#include "message_embed_referenced_button_label">",
"url": "${referencedMessageLink}",
"buttonStyle": "link"
}
</#if>
]
}
]
</#if>
<#if embeddedMessage.attachments?size gt 0 && embeddedMessage.attachments[0].spoiler>
,"additionalMessage": "||${embeddedMessage.attachments[0].proxyUrl?json_string}||"
</#if>
<#if referencedMessageId?has_content && mentionsReferencedMessage?has_content>
,"referencedMessageId": "${referencedMessageId?c}",
"messageConfig": {
"mentionsReferencedMessage": ${mentionsReferencedMessage?string('true', 'false')}
}
,"referencedMessageId": "${referencedMessageId?c}"
</#if>
,"messageConfig": {
"allowsUserMention": false,
"allowsRoleMention": false,
"allowsEveryoneMention": false,
"useComponentsV2": true
<#if referencedMessageId?has_content && mentionsReferencedMessage?has_content>
,"mentionsReferencedMessage": ${mentionsReferencedMessage?string('true', 'false')}
</#if>
}
}

View File

@@ -3,7 +3,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -1,7 +1,7 @@
{
"embeds": [
{
<#assign user>${member.user.name} (${member.asMention}: ${member.id})</#assign>
<#assign userText>${user.name} (${user.userMention}: ${user.id})</#assign>
"description": "<@safe_include "user_joined_text"/>",
<#include "abstracto_color"/>
}

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>moderation</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
<build>
<plugins>
<plugin>

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>modmail</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
<build>
<plugins>
<plugin>

View File

@@ -4,7 +4,7 @@
"embeds": [
{
<#include "modmail_color">,
<#assign user><@user_detail user=userDisplay/> (${userDisplay.id?c})</#assign>
<#assign user><@user_detail user=userDisplay/></#assign>
"description": "<@safe_include "modmail_thread_header_embed_description"/>"
}
]

View File

@@ -4,14 +4,14 @@
<parent>
<groupId>dev.sheldan.abstracto-templates</groupId>
<artifactId>templates</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
<modules>
<module>core</module>

View File

@@ -3,7 +3,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -1,51 +1,120 @@
{
"embeds": [
"components": [
{
<#if author??>
<#include "user_author">
<@user_author user=author/>
<#else>
<@safe_include "deleted_user_author"/>
</#if>,
<#include "abstracto_color">,
<#if message.content?has_content || message.embeds?size gt 0>
"description": "${message.content?json_string}
<#list message.embeds>
<@safe_include "starboard_post_embed_embeds_name"/>:
<#items as embed>
<#if embed.description??> <@safe_include "starboard_post_embed_description"/>: ${embed.description?json_string} </#if> <#if embed.imageUrl?has_content> <@safe_include "starboard_post_embed_image_url"/>: ${embed.imageUrl} </#if>
</#items>
</#list>
",
</#if>
<#if message.attachments?size gt 0>
"imageUrl": "${message.attachments[0].proxyUrl}",
<#elseif message.attachments?size = 0 && message.embeds?size gt 0 && message.embeds[0].cachedThumbnail??>
"imageUrl": "${message.embeds[0].cachedThumbnail.proxyUrl}",
<#elseif message.attachments?size = 0 && message.embeds?size gt 0 && message.embeds[0].cachedImageInfo??>
"imageUrl": "${message.embeds[0].cachedImageInfo.proxyUrl}",
</#if>
"fields": [
{
"name": "<@safe_include "starboard_post_embed_original_field_title"/>"
<#if channel?has_content>
,"value": "[${channel.name?json_string}](${message.messageUrl})"
<#else>
,"value": "[${sourceChannelId?c}](${message.messageUrl})"
</#if>
<#assign userFound=author??>
<#assign emote>${starLevelEmote}</#assign>
<#assign count>${starCount}</#assign>
<#assign messageId>${message.messageId?c}</#assign>
<#assign userText><#if author??><#include "user_user_name"><@user_user_name user=author/><#else><@safe_include "delete_user_name"/></#if></#assign>
<#assign userAvatar><#if author??>${author.effectiveAvatarUrl}</#if></#assign>
<#assign userComponent>
"type": "textDisplay",
<#if channel?has_content>
<#assign channelMention>${channel.asMention?json_string}</#assign>
"content": "<@safe_include "starboard_post_embed_additional_message"/>"
<#else>
<#assign channelMention>${sourceChannelId?c}</#assign>
"content": "<@safe_include "starboard_post_embed_additional_message"/>"
</#if>
</#assign>
<#if userFound>
"type": "section",
"components": [
{
${userComponent}
}
],
"accessory": {
"type": "thumbnail",
"url": "${userAvatar}"
}
],
"timeStamp": "${message.timeCreated}"
<#else>
${userComponent}
</#if>
}
,{
"type": "container",
<#include "starboard_post_container_color">
"components": [
<#assign hasContent=false>
<#if message.content?has_content>
<#assign hasContent=true>
{
"type": "textDisplay",
"content": "${message.content?json_string}"
}
</#if>
<#list message.embeds as embed>
<#if embed.description?has_content && !((embed.cachedImageInfo?has_content && embed.cachedImageInfo.proxyUrl?has_content) || (embed.cachedThumbnail?has_content && embed.cachedThumbnail.proxyUrl?has_content))>
<#assign hasContent=true>
{
"type": "textDisplay",
"content": "${embed.description?json_string}"
}
<#elseif embed.description?has_content && (embed.cachedImageInfo?has_content && embed.cachedImageInfo.proxyUrl?has_content && embed.cachedImageInfo.width gt 0)
|| (embed.cachedThumbnail?has_content && embed.cachedThumbnail.proxyUrl?has_content && embed.cachedThumbnail.width gt 0)>
<#assign hasContent=true>
,{
"type": "section",
"components": [
{
"type": "textDisplay",
"content": "${embed.description?json_string}"
}
]
,"accessory": {
"type": "thumbnail",
"url": "${(embed.cachedImageInfo.proxyUrl)!embed.cachedThumbnail.proxyUrl}"
}
}
<#elseif (embed.cachedImageInfo?has_content && embed.cachedImageInfo.proxyUrl?has_content && embed.cachedImageInfo.width gt 0)
|| (embed.cachedThumbnail?has_content && embed.cachedThumbnail.proxyUrl?has_content && embed.cachedThumbnail.width gt 0)>
<#assign hasContent=true>
{
"type": "mediaGallery",
"images": [
{
"url": "${(embed.cachedImageInfo.proxyUrl)!embed.cachedThumbnail.proxyUrl}"
}
]
}
</#if>
</#list>
<#if message.attachments?size gt 0>
<#list message.attachments?filter(x -> x.width gt 0)>
<#assign hasContent=true>
,{
"type": "mediaGallery",
"images": [
<#items as attachment>
{
"url": "${attachment.proxyUrl}"
}</#items>
]
}<#sep>,</#list>
</#if>
<#if hasContent==false>
{
"type": "textDisplay",
"content": "<@safe_include "starboard_post_embed_no_content"/>"
}
</#if>
]
},
{
"type": "actionRow",
"actionRowItems": [
{
"type": "button",
"label": "<#include "starboard_post_embed_go_to_post_title">",
"url": "${message.messageUrl}",
"buttonStyle": "link"
}
]
}
],
<#assign emote>${starLevelEmote}</#assign>
<#assign count>${starCount}</#assign>
<#assign messageId>${message.messageId?c}</#assign>
<#if channel?has_content>
<#assign channelMention>${channel.asMention?json_string}</#assign>
"additionalMessage": "<@safe_include "starboard_post_embed_additional_message"/>"
<#else>
<#assign channelMention>${sourceChannelId?c}</#assign>
"additionalMessage": "<@safe_include "starboard_post_embed_additional_message"/>"
</#if>
"messageConfig": {
"allowsUserMention": false,
"useComponentsV2": true
}
}

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>statistic</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
<build>
<plugins>
<plugin>

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<artifactId>sticky-roles</artifactId>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -3,7 +3,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -6,29 +6,49 @@
<#assign title=currentSection.title>
<#assign thumbnail=currentSection.thumbnailURL>
<#assign viewerCount=currentSection.viewerCount>
"additionalMessage": "<@safe_include "twitch_streamer_go_live_notification_text"/>",
"embeds": [
"components": [
<#assign additionalText><@safe_include "twitch_streamer_go_live_notification_text"/></#assign>
{
<#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}"
"type": "section",
"components": [
{
"type": "textDisplay",
"content": "${(additionalText)!''}\n# ${title?json_string} \n <@safe_include "twitch_streamer_go_live_notification_current_section"/>"
}
<#if pastSections?? && pastSections?size gt 0>,
{
"type": "textDisplay",
"content": "<@safe_include "twitch_streamer_go_live_notification_past_sections"/>"
}
</#if>
]
,"accessory": {
"type": "thumbnail",
"url": "${streamerAvatarURL}"
}
},
{
"type": "mediaGallery",
"images": [
{
"url": "${thumbnail}?${randomString}"
}
]
},
{
"type": "actionRow",
"actionRowItems": [
{
"type": "button",
"label": "<@safe_include "twitch_streamer_go_live_notification_watch_button"/>",
"url": "${streamURL?json_string}",
"buttonStyle": "link"
}
]
}
],
"messageConfig": {
"allowsRoleMention": true
},
"buttons": [
{
"label": "<@safe_include "twitch_streamer_go_live_notification_watch_button"/>",
"url": "${streamURL?json_string}",
"buttonStyle": "link",
"metaConfig": {
"persistCallback": false
}
}
]
"allowsRoleMention": true,
"useComponentsV2": true
}
}

View File

@@ -1,18 +1,37 @@
<#include "format_instant">
{
"embeds": [
"components": [
{
<#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>
"type": "section",
"components": [
{
"type": "textDisplay",
"content": "<@safe_include "twitch_streamer_went_offline_notification_title"/>"
},
{
"type": "textDisplay",
"content": "<@safe_include "twitch_streamer_went_offline_notification_past_sections"/>"
}
]
,"accessory": {
"type": "thumbnail",
"url": "${avatarURL}"
}
}
]
<#if offlineImageURL??>,
{
"type": "mediaGallery",
"images": [
{
"url": "${offlineImageURL}"
}
]
}
</#if>
],
"messageConfig": {
"useComponentsV2": true
}
}

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>utility</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
<build>
<plugins>
<plugin>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -5,7 +5,7 @@
<groupId>dev.sheldan.abstracto-templates</groupId>
<artifactId>templates</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
<modules>
<module>abstracto-modules</module>
@@ -24,7 +24,7 @@
<connection>scm:git:${project.scm.url}</connection>
<developerConnection>scm:git:${project.scm.url}</developerConnection>
<url>https://github.com/Sheldan/abstracto-templates.git</url>
<tag>templates-1.4.56</tag>
<tag>HEAD</tag>
</scm>
<repositories>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>core</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
<build>
<plugins>
<plugin>

View File

@@ -0,0 +1,2 @@
The command is only available as slash command.
Please try `/${slashCommandPath}`

View File

@@ -3,7 +3,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>experience-tracking</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
<build>
<plugins>
<plugin>

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<artifactId>giveaway</artifactId>

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<artifactId>image-generation</artifactId>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -1 +0,0 @@
${user} from [${channelName} (original)](${messageLink})

View File

@@ -1 +0,0 @@
[message](${referencedMessageLink}) by ${repliedToAuthorMention}

View File

@@ -0,0 +1 @@
${userText} quoted by ${embeddingUserText}

View File

@@ -0,0 +1 @@
Go to original in ${channelName}

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -1 +1 @@
User ${user} has joined the guild.
User ${userText} has joined the guild.

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>moderation</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
<build>
<plugins>
<plugin>

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>modmail</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
<build>
<plugins>
<plugin>

View File

@@ -4,14 +4,14 @@
<parent>
<groupId>dev.sheldan.abstracto-templates</groupId>
<artifactId>templates</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
<modules>
<module>core</module>

View File

@@ -3,7 +3,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -1 +1,2 @@
${emote} ${count} ${channelMention} ID: ${messageId}
-# ${emote} ${count} by ${userText} in ${channelMention}
-# ID: ${messageId}

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>statistic</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
<build>
<plugins>
<plugin>

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<artifactId>sticky-roles</artifactId>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -1,4 +1,4 @@
They played:
<#list pastSections as section>
<@format_instant_date_time instant=section.startedAt/> `${section.gameName}` - `${section.title}`
<@format_instant_date_time instant=section.startedAt/> `${section.gameName}` - `${section.title}`
</#list>

View File

@@ -1,4 +1,4 @@
They played:
<#list pastSections as section>
<@format_instant_date_time instant=section.startedAt/> `${section.gameName}` - `${section.title}`
<@format_instant_date_time instant=section.startedAt/> `${section.gameName}` - `${section.title}`
</#list>

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>utility</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
<build>
<plugins>
<plugin>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -3,7 +3,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.56</version>
<version>1.4.63-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>