Compare commits

..

26 Commits

Author SHA1 Message Date
release-bot
43ef9b1109 [maven-release-plugin] prepare for next development iteration 2025-12-30 12:25:02 +00:00
release-bot
4a1c67a5da [maven-release-plugin] prepare release templates-1.4.65 2025-12-30 12:25:01 +00:00
Sheldan
fca984ad31 [AB-xxx] fixing incorrectly rendering multiple attachments for link embeds and starboard posts 2025-12-30 13:21:59 +01:00
Sheldan
5e30f334c4 [AB-xxx] adding templates for getConfig command 2025-12-28 23:47:07 +01:00
release-bot
0978c5ff7f [maven-release-plugin] prepare for next development iteration 2025-12-17 22:56:48 +00:00
release-bot
156e6ffb90 [maven-release-plugin] prepare release templates-1.4.64 2025-12-17 22:56:47 +00:00
Sheldan
f814f87524 [AB-xxx] adding channel group output to post target command 2025-12-17 23:55:18 +01:00
release-bot
95b0145bd8 [maven-release-plugin] prepare for next development iteration 2025-11-29 13:04:17 +00:00
release-bot
c198e2cb19 [maven-release-plugin] prepare release templates-1.4.63 2025-11-29 13:04:16 +00:00
Sheldan
3a7a624c78 [AB-xxx] fixing user leave messages
changing structure of starboard post messages
2025-11-22 15:28:24 +01:00
Sheldan
ceff7f49c2 [AB-xxx] fixing number display in user join embed 2025-11-22 13:06:54 +01:00
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
79 changed files with 222 additions and 113 deletions

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1 @@
<@config_value_display entry=configValue/>

View File

@@ -0,0 +1,7 @@
{
"embeds": [
{
"description": "<@safe_include "getConfig_no_configs_found_text"/>"
}
]
}

View File

@@ -0,0 +1,10 @@
{
"embeds": [
{
"description": "<#list row as configValue><#assign configValue=configValue><@safe_include "getConfig_config_value_entry"/>\n</#list>"
}
],
"buttons": [
<#include "paginator_buttons">
]
}

View File

@@ -0,0 +1,10 @@
<#include "getConfig_display_macro">
{
<#assign exitOnly=innerModel.values?size lt 10/>
"embedConfigs": [
<#assign chunks=innerModel.values?chunk(9)>
<#list chunks as row><#assign counter=row?index><#assign row=row><#include "getConfig_response_embed"><#sep>,</#list>
],
"timeoutSeconds": 120,
"restrictUser": true
}

View File

@@ -7,11 +7,20 @@
<#include "success_color">, <#include "success_color">,
"description": " "description": "
<#list postTargets as postTarget><#assign postTarget=postTarget/> <#list postTargets as postTarget><#assign postTarget=postTarget/>
<#assign postTargetName>${postTarget.postTarget.name?json_string}</#assign> <#assign postTargetName>${postTarget.name?json_string}</#assign>
<#assign statusIndicator>${postTarget.disabled?string('❌', '✅')}</#assign> <#assign statusIndicator>${postTarget.disabled?string('❌', '✅')}</#assign>
<#assign channelMention><#if postTarget.channel?has_content>${postTarget.channel.asMention?json_string}<#else><@safe_include "posttarget_no_channel"/></#if></#assign> <#assign channelGroupText="">
<#if postTarget.channelGroup??>
<#assign additionalChannels=postTarget.channelGroup.additionalChannels?map(channel -> channel.channelMention)?join(", ")>
<#assign channelGroupText>${postTarget.channelGroup.name} ${postTarget.channelGroup.disabled?string('❌', '✅')}: ${additionalChannels}</#assign>
</#if>
<#assign channelMention><#if postTarget.channel?has_content>${postTarget.channel.channelMention?json_string}<#else><@safe_include "posttarget_no_channel"/></#if></#assign>
<@safe_include "posttarget_post_target_text"/> <@safe_include "posttarget_post_target_text"/>
<#if postTarget.channelGroup??>
<@safe_include "posttarget_post_target_channel_group_text"/>
</#if>
<#else> <#else>
<@safe_include "posttarget_no_post_targets_found"/> <@safe_include "posttarget_no_post_targets_found"/>
</#list> </#list>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,12 +1,28 @@
{ {
"components": [ "components": [
{ {
"type": "textDisplay", <#assign userFound=author??>
<#include "user_user_name"> <#include "user_user_name">
<#assign userText><#if author??><@user_user_name user=author/><#else><@safe_include "delete_user_name"/></#if></#assign> <#assign userText><#if author??><@user_user_name user=author/><#else><@safe_include "delete_user_name"/></#if></#assign>
<#include "member_user_name"> <#include "member_user_name">
<#assign embeddingUserText><@member_user_name member=embeddingUser/></#assign> <#assign embeddingUserText><@member_user_name member=embeddingUser/></#assign>
"content": "<@safe_include "message_embed_meta_info"/>" <#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}"
}
<#else>
"type": "textDisplay",
"content": "<@safe_include "message_embed_meta_info"/>"
</#if>
}, },
{ {
"type": "container", "type": "container",
@@ -59,9 +75,9 @@
<#items as attachment> <#items as attachment>
{ {
"url": "${attachment.proxyUrl}" "url": "${attachment.proxyUrl}"
}</#items> }<#sep>,</#items>
] ]
}<#sep>,</#list> }</#list>
</#if> </#if>
<#if hasContent==false> <#if hasContent==false>
{ {

View File

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

View File

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

View File

@@ -2,7 +2,7 @@
"embeds": [ "embeds": [
{ {
<#include "user_detail"> <#include "user_detail">
<#assign user><@user_detail user=user/></#assign> <#assign userText><@user_detail user=user/></#assign>
"description": "<@safe_include "user_left_text"/>", "description": "<@safe_include "user_left_text"/>",
<#include "abstracto_color"/> <#include "abstracto_color"/>
} }

View File

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

View File

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

View File

@@ -4,7 +4,7 @@
"embeds": [ "embeds": [
{ {
<#include "modmail_color">, <#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"/>" "description": "<@safe_include "modmail_thread_header_embed_description"/>"
} }
] ]

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,21 +1,40 @@
{ {
"components": [ "components": [
{ {
"type": "textDisplay", <#assign userFound=authorMember?? || authorUser??>
<#assign emote>${starLevelEmote}</#assign> <#assign emote>${starLevelEmote}</#assign>
<#assign count>${starCount}</#assign> <#assign count>${starCount}</#assign>
<#assign messageId>${message.messageId?c}</#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 userText><#if authorMember??>${authorMember.name}<#elseif authorUser??>${authorUser.name}<#else><@safe_include "delete_user_name"/></#if></#assign>
<#if channel?has_content> <#assign userAvatar><#if authorMember??>${authorMember.avatarUrl}<#elseif authorUser??>${authorUser.avatarUrl}</#if></#assign>
<#assign channelMention>${channel.asMention?json_string}</#assign> <#assign userComponent>
"content": "<@safe_include "starboard_post_embed_additional_message"/>" "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}"
}
<#else> <#else>
<#assign channelMention>${sourceChannelId?c}</#assign> ${userComponent}
"content": "<@safe_include "starboard_post_embed_additional_message"/>"
</#if> </#if>
} }
,{ ,{
"type": "container", "type": "container",
<#include "starboard_post_container_color">
"components": [ "components": [
<#assign hasContent=false> <#assign hasContent=false>
<#if message.content?has_content> <#if message.content?has_content>
@@ -26,8 +45,15 @@
} }
</#if> </#if>
<#list message.embeds as embed> <#list message.embeds as embed>
<#if embed.description?has_content> <#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> <#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", "type": "section",
"components": [ "components": [
@@ -36,12 +62,10 @@
"content": "${embed.description?json_string}" "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": { ,"accessory": {
"type": "thumbnail", "type": "thumbnail",
"url": "${(embed.cachedImageInfo.proxyUrl)!embed.cachedThumbnail.proxyUrl}" "url": "${(embed.cachedImageInfo.proxyUrl)!embed.cachedThumbnail.proxyUrl}"
} }
</#if>
} }
<#elseif (embed.cachedImageInfo?has_content && embed.cachedImageInfo.proxyUrl?has_content && embed.cachedImageInfo.width gt 0) <#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)> || (embed.cachedThumbnail?has_content && embed.cachedThumbnail.proxyUrl?has_content && embed.cachedThumbnail.width gt 0)>
@@ -65,9 +89,9 @@
<#items as attachment> <#items as attachment>
{ {
"url": "${attachment.proxyUrl}" "url": "${attachment.proxyUrl}"
}</#items> }<#sep>,</#items>
] ]
}<#sep>,</#list> }</#list>
</#if> </#if>
<#if hasContent==false> <#if hasContent==false>
{ {

View File

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

View File

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

View File

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

View File

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

View File

@@ -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>,
{ {

View File

@@ -1,18 +1,37 @@
<#include "format_instant"> <#include "format_instant">
{ {
"embeds": [ "components": [
{ {
<#include "twitch_color">,
<#assign channelName=channelName> <#assign channelName=channelName>
<#assign avatarURL=avatarURL> <#assign avatarURL=avatarURL>
"title": { "type": "section",
"title": "<@safe_include "twitch_streamer_went_offline_notification_title"/>" "components": [
}, {
"author": { "name": "${channelName}", "avatar": "${avatarURL}"}, "type": "textDisplay",
"description": "<@safe_include "twitch_streamer_went_offline_notification_past_sections"/>" "content": "<@safe_include "twitch_streamer_went_offline_notification_title"/>"
<#if offlineImageURL??>, },
<#assign offlineImageURL=offlineImageURL> {
"imageUrl": "${offlineImageURL}"</#if> "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> <parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId> <groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId> <artifactId>abstracto-modules</artifactId>
<version>1.4.58</version> <version>1.4.66-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging> <packaging>pom</packaging>
<artifactId>utility</artifactId> <artifactId>utility</artifactId>
<version>1.4.58</version> <version>1.4.66-SNAPSHOT</version>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,2 @@
<#macro config_value_value_display entry><#if entry.longValue??>${entry.longValue?c}</#if><#if entry.stringValue??>${entry.stringValue}</#if><#if entry.doubleValue??>${entry.doubleValue}</#if></#macro>
<#macro config_value_display entry>${entry.key}: <#if entry.hasConcreateValue><@config_value_value_display entry=entry/><#else><#include "getConfig_display_no_concrete_value_label"></#if> <#include "getConfig_display_default_label">: <@config_value_value_display entry=entry.defaultValue/></#macro>

View File

@@ -0,0 +1 @@
Shows all or one value of the bots configuration.

View File

@@ -0,0 +1,2 @@
This command is used to see the currently applied configuration and default configuration of this server.
If a `key` is provided, this shows one individual configuration and all configuration entries otherwise.

View File

@@ -0,0 +1 @@
The feature to show the configuration for.

View File

@@ -0,0 +1 @@
Channel group: ${channelGroupText}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,4 +1,4 @@
They played: They played:
<#list pastSections as section> <#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> </#list>

View File

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

View File

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

View File

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