Compare commits

...

17 Commits

Author SHA1 Message Date
release-bot
79f8725555 [maven-release-plugin] prepare release templates-1.4.52 2025-02-03 22:41:01 +00:00
Sheldan
a87b010e1a [AB-xxx] some fixes/simplifications/changes for user installable applications 2025-02-03 23:40:06 +01:00
release-bot
05f5fa8683 [maven-release-plugin] prepare for next development iteration 2025-01-31 18:06:25 +00:00
release-bot
f14d755174 [maven-release-plugin] prepare release templates-1.4.51 2025-01-31 18:06:23 +00:00
Sheldan
1e76627d5d [AB-xxx] adding paginators to emote stats 2025-01-31 19:04:19 +01:00
release-bot
db66537456 [maven-release-plugin] prepare for next development iteration 2025-01-27 00:33:54 +00:00
release-bot
bb81ecd4a8 [maven-release-plugin] prepare release templates-1.4.50 2025-01-27 00:33:53 +00:00
Sheldan
d6b9ef4f4a [AB-xxx] adding templates for slash commands for emoteStats 2025-01-27 01:32:28 +01:00
release-bot
a025308cf1 [maven-release-plugin] prepare for next development iteration 2025-01-15 21:16:40 +00:00
release-bot
db062fecb4 [maven-release-plugin] prepare release templates-1.4.49 2025-01-15 21:16:39 +00:00
Sheldan
f7cbf5df4a [AB-xxx] adding templates for currency conversion 2025-01-15 22:15:27 +01:00
Sheldan
733340cd0a [AB-xxx] fixing reason field in multiple places breaking using quotes 2025-01-06 00:14:49 +01:00
Sheldan
4bb260dfc8 [AB-xxx] adding template for keyGiveawaysDuration config setup 2024-12-30 19:36:54 +01:00
release-bot
8f364ac102 [maven-release-plugin] prepare for next development iteration 2024-12-25 18:59:19 +00:00
release-bot
42d728ef4c [maven-release-plugin] prepare release templates-1.4.48 2024-12-25 18:59:18 +00:00
Sheldan
8be725e17d [AB-xxx] adding templates related to key giveaways 2024-12-25 19:58:03 +01:00
release-bot
862e60d1d1 [maven-release-plugin] prepare for next development iteration 2024-11-26 22:19:57 +00:00
169 changed files with 434 additions and 184 deletions

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.47</version>
<version>1.4.52</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.47</version>
<version>1.4.52</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.47</version>
<version>1.4.52</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>core</artifactId>
<version>1.4.47</version>
<version>1.4.52</version>
<build>
<plugins>

View File

@@ -1,8 +1,6 @@
{
"embeds": [
{
<#include "member_author">
<@member_author member=member/>,
<#include "exception_color">,
"metaConfig" : {
"preventEmptyEmbed": "true"

View File

@@ -3,7 +3,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.47</version>
<version>1.4.52</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.47</version>
<version>1.4.52</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.47</version>
<version>1.4.52</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>experience-tracking</artifactId>
<version>1.4.47</version>
<version>1.4.52</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.47</version>
<version>1.4.52</version>
</parent>
<artifactId>giveaway</artifactId>

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "addGiveawayKey_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "createKeyGiveaway_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "removeGiveawayKey_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

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

View File

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

View File

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

View File

@@ -0,0 +1 @@
<#include "giveaway_key_not_found_exception_message">

View File

@@ -0,0 +1 @@
<#include "giveaway_not_possible_exception_message">

View File

@@ -0,0 +1,15 @@
{
"embeds": [
{
"title": {
<#assign title=title?json_string>
"title": "<@safe_include "giveaway_winner_modmail_notification_title"/>"
},
<#include "abstracto_color">,
<#if description?has_content><#assign description=description?json_string></#if>
<#if benefactor?has_content><#assign benefactor=benefactor.memberMention/></#if>
<#assign key=key/>
"description": "<@safe_include "giveaway_winner_modmail_notification_description"/>"
}
]
}

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.47</version>
<version>1.4.52</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.47</version>
<version>1.4.52</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.47</version>
<version>1.4.52</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.47</version>
<version>1.4.52</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.47</version>
<version>1.4.52</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>moderation</artifactId>
<version>1.4.47</version>
<version>1.4.52</version>
<build>
<plugins>
<plugin>

View File

@@ -25,7 +25,7 @@
,
{
"name": "<@safe_include "userBanned_field_title_reason"/>",
"value": "${reason}"
"value": "${reason?json_string}"
}
</#if>
]

View File

@@ -20,7 +20,7 @@
,
{
"name": "<@safe_include "userUnBanned_field_title_reason"/>",
"value": "${reason}"
"value": "${reason?json_string}"
}
</#if>
]

View File

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

View File

@@ -4,14 +4,14 @@
<parent>
<groupId>dev.sheldan.abstracto-templates</groupId>
<artifactId>templates</artifactId>
<version>1.4.47</version>
<version>1.4.52</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.47</version>
<version>1.4.52</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.47</version>
<version>1.4.52</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.47</version>
<version>1.4.52</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -1,32 +1,36 @@
{
"embeds": [
{
<#include "member_author">
<#include "member_avatar">
<@member_display_author member=memberNameDisplay/>,
<#include "user_author">
<@user_detail_author user=userDisplay/>,
<#include "abstracto_color">,
<#assign reminderId=reminderDisplay.id>
"description": "<@safe_include "remind_reminder_description"/>",
"fields": [
{
"name": "<@safe_include "remind_reminder_duration_field_title"/>",
"value": "${fmtDuration(duration)}"
},
<#if reminder.text?has_content>
{
}
<#if reminderDisplay.text?has_content>
,{
"name": "<@safe_include "remind_reminder_note_field_title"/>",
"value": "${reminder.text?json_string}"
},
"value": "${reminderDisplay.text?json_string}"
}
</#if>
{
<#if messageUrl?has_content>
,{
"name": "<@safe_include "remind_reminder_link_field_title"/>",
"value": "[<@safe_include "remind_reminder_link_content_display_text"/>](${messageUrl})"
}
</#if>
]
}
],
<#assign participantsMentions><#list reminderParticipants as participant>${participant.memberMention}<#sep>, </#list></#assign>
"additionalMessage": "${memberNameDisplay.memberMention?json_string} 🔔
]
<#if !reminderDisplay.userCommand>,
<#assign participantsMentions><#if reminderParticipants?has_content><#list reminderParticipants as participant>${participant.memberMention}<#sep>, </#list></#if></#assign>
"additionalMessage": "${userDisplay.userMention?json_string} 🔔
${participantsMentions}
"
</#if>
}

View File

@@ -3,9 +3,8 @@
"embeds": [
{
<#assign id>${reminder.id}</#assign>
<#include "member_author">
<#include "member_avatar">
<@member_display_author member=memberDisplay/>,
<#include "user_author">
<@user_detail_author user=userDisplay/>,
<#include "abstracto_color">,
<#assign reminderTargetDate><@format_instant_date_time instant=reminder.targetDate/></#assign>
<#if message?has_content>
@@ -21,8 +20,11 @@
</#if>
}
],
"additionalMessage": "${memberDisplay.memberMention?json_string}",
]
<#if !reminder.userCommand>,
"additionalMessage": "${userDisplay.userMention?json_string}"
</#if>
<#if joinButtonId?has_content>,
"buttons": [
{
"label": "<@safe_include "remind_reminder_join_button_label"/>",
@@ -33,4 +35,5 @@
}
}
]
</#if>
}

View File

@@ -2,8 +2,8 @@
{
"embeds": [
{
<#include "member_author">
<@member_author member=member/>,
<#include "user_author">
<@user_detail_author user=userDisplay/>,
<#include "abstracto_color">,
"title": {
"title": "<@safe_include "reminders_reminders_embed_title"/>"
@@ -16,7 +16,7 @@
{
<#assign id>${reminderDisplay.id}</#assign>
<#assign reminderTargetDate><@format_instant_date_time instant=reminderDisplay.targetDate/></#assign>
<#assign messageLink=reminderDisplay.message.jumpUrl/>
<#if !reminderDisplay.userCommand><#assign messageLink=reminderDisplay.message.jumpUrl/></#if>
<#assign joined=reminderDisplay.joined/>
<#assign joinedText><#if joined><@safe_include "reminder_joined_text"/></#if></#assign>
"name": "<@safe_include "reminders_reminder_field_title"/>",

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.47</version>
<version>1.4.52</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.47</version>
<version>1.4.52</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.47</version>
<version>1.4.52</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>statistic</artifactId>
<version>1.4.47</version>
<version>1.4.52</version>
<build>
<plugins>
<plugin>

View File

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

View File

@@ -0,0 +1 @@
`${emote.trackedEmote.emoteName}:${emote.trackedEmote.trackedEmoteId.id?c}`x${emote.result.amount?c}

View File

@@ -1,11 +0,0 @@
{
"embeds": [
{
"title": {
"title": "<@safe_include "deletedEmoteStats_animated_emotes_title"/>"
},
<#include "statistic_color">,
"description": "<#list animatedEmotes as emote>`${emote.trackedEmote.emoteName}:${emote.trackedEmote.trackedEmoteId.id?c}`x${emote.result.amount?c}<#sep>, </#list>"
}
]
}

View File

@@ -0,0 +1,13 @@
{
"embeds": [
{
"title": {
"title": "<@safe_include "deletedEmoteStats_animated_emotes_title"/>"
},
"description": "<#list row as emote><#assign emote=emote><@safe_include "deletedEmoteStats_animated_emote_entry"/><#sep>, </#list>"
}
],
"buttons": [
<#include "paginator_buttons">
]
}

View File

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

View File

@@ -0,0 +1 @@
`${emote.trackedEmote.emoteName}:${emote.trackedEmote.trackedEmoteId.id?c}`x${emote.result.amount?c}

View File

@@ -1,11 +0,0 @@
{
"embeds": [
{
"title": {
"title": "<@safe_include "deletedEmoteStats_static_emotes_title"/>"
},
<#include "statistic_color">,
"description": "<#list staticEmotes as emote>`${emote.trackedEmote.emoteName}:${emote.trackedEmote.trackedEmoteId.id?c}`x${emote.result.amount?c}<#sep>, </#list>"
}
]
}

View File

@@ -0,0 +1,13 @@
{
"embeds": [
{
"title": {
"title": "<@safe_include "deletedEmoteStats_static_emotes_title"/>"
},
"description": "<#list row as emote><#assign emote=emote><@safe_include "deletedEmoteStats_static_emote_entry"/><#sep>, </#list>"
}
],
"buttons": [
<#include "paginator_buttons">
]
}

View File

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

View File

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

View File

@@ -0,0 +1 @@
${emote.emote.asMention}x${emote.result.amount?c}

View File

@@ -1,11 +0,0 @@
{
"embeds": [
{
"title": {
"title": "<@safe_include "emoteStats_animated_emotes_title"/>"
},
<#include "statistic_color">,
"description": "<#list animatedEmotes as emote><#if emote.emote?has_content>${emote.emote.asMention}x${emote.result.amount?c}<#sep>, </#if></#list>"
}
]
}

View File

@@ -0,0 +1,13 @@
{
"embeds": [
{
"title": {
"title": "<@safe_include "emoteStats_animated_emotes_title"/>"
},
"description": "<#list row as emote><#assign emote=emote><@safe_include "emoteStats_animated_emote_entry"/><#sep>, </#list>"
}
],
"buttons": [
<#include "paginator_buttons">
]
}

View File

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

View File

@@ -0,0 +1 @@
${emote.emote.asMention}x${emote.result.amount?c}

View File

@@ -1,11 +0,0 @@
{
"embeds": [
{
"title": {
"title": "<@safe_include "emoteStats_static_emotes_title"/>"
},
<#include "statistic_color">,
"description": "<#list staticEmotes as emote><#if emote.emote?has_content>${emote.emote.asMention}x${emote.result.amount?c}<#sep>, </#if></#list>"
}
]
}

View File

@@ -0,0 +1,13 @@
{
"embeds": [
{
"title": {
"title": "<@safe_include "emoteStats_static_emotes_title"/>"
},
"description": "<#list row as emote><#assign emote=emote><@safe_include "emoteStats_static_emote_entry"/><#sep>, </#list>"
}
],
"buttons": [
<#include "paginator_buttons">
]
}

View File

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

View File

@@ -0,0 +1 @@
`${emote.trackedEmote.emoteName}:${emote.trackedEmote.trackedEmoteId.id?c}`x${emote.result.amount?c}

View File

@@ -1,11 +0,0 @@
{
"embeds": [
{
"title": {
"title": "<@safe_include "externalEmoteStats_animated_emotes_title"/>"
},
<#include "statistic_color">,
"description": "<#list animatedEmotes as emote>`${emote.trackedEmote.emoteName}:${emote.trackedEmote.trackedEmoteId.id?c}`x${emote.result.amount?c}<#sep>, </#list>"
}
]
}

View File

@@ -0,0 +1,13 @@
{
"embeds": [
{
"title": {
"title": "<@safe_include "externalEmoteStats_animated_emotes_title"/>"
},
"description": "<#list row as emote><#assign emote=emote><@safe_include "externalEmoteStats_animated_emote_entry"/><#sep>, </#list>"
}
],
"buttons": [
<#include "paginator_buttons">
]
}

View File

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

View File

@@ -0,0 +1 @@
`${emote.trackedEmote.emoteName}:${emote.trackedEmote.trackedEmoteId.id?c}`x${emote.result.amount?c}

View File

@@ -1,11 +0,0 @@
{
"embeds": [
{
"title": {
"title": "<@safe_include "externalEmoteStats_static_emotes_title"/>"
},
<#include "statistic_color">,
"description": "<#list staticEmotes as emote>`${emote.trackedEmote.emoteName}:${emote.trackedEmote.trackedEmoteId.id?c}`x${emote.result.amount?c}<#sep>, </#list>"
}
]
}

View File

@@ -0,0 +1,13 @@
{
"embeds": [
{
"title": {
"title": "<@safe_include "externalEmoteStats_static_emotes_title"/>"
},
"description": "<#list row as emote><#assign emote=emote><@safe_include "externalEmoteStats_static_emote_entry"/><#sep>, </#list>"
}
],
"buttons": [
<#include "paginator_buttons">
]
}

View File

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

View File

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

View File

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

View File

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

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.47</version>
<version>1.4.52</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.47</version>
<version>1.4.52</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.47</version>
<version>1.4.52</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.47</version>
<version>1.4.52</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>utility</artifactId>
<version>1.4.47</version>
<version>1.4.52</version>
<build>
<plugins>
<plugin>

View File

@@ -1,20 +1,12 @@
{
"embeds": [
{
<#include "member_author">
<@member_author member=memberInfo/>,
<#include "abstracto_color">,
"imageUrl": "${memberInfo.user.effectiveAvatarUrl}",
"imageUrl": "${avatarUrl}",
"fields": [
{
<#include "member_user_name">
"name": "<@safe_include "showAvatar_response_embed_user_field_title"/>",
"value": "<@member_member_name member=memberInfo/>",
"inline": "true"
},
{
"name": "<@safe_include "showAvatar_response_embed_image_field_title"/>",
"value": "[<@safe_include "showAvatar_response_embed_image_field_value_display"/>](${memberInfo.user.effectiveAvatarUrl})",
"value": "[<@safe_include "showAvatar_response_embed_image_field_value_display"/>](${avatarUrl})",
"inline": "true"
}
]

View File

@@ -8,6 +8,18 @@
<#include "member_avatar">
"thumbnail": "<@member_display_avatar member=memberDisplay/>",
"fields": [
{
"name": "<@safe_include "userInfo_response_embed_user_name_field_title"/>",
"value": "${memberDisplay.userName}",
"inline": "true"
},
<#if memberDisplay.displayName?has_content>
{
"name": "<@safe_include "userInfo_response_embed_global_name_field_title"/>",
"value": "${memberDisplay.displayName}",
"inline": "true"
},
</#if>
{
"name": "<@safe_include "userInfo_response_embed_id_field_title"/>",
"value": "${id?c}",
@@ -20,22 +32,26 @@
"inline": "true"
},
</#if>
<#if onlineStatus?has_content>
{
"name": "<@safe_include "userInfo_response_embed_status_field_title"/>",
"value": "${onlineStatus?json_string}",
"inline": "true"
},
</#if>
<#if joinDate?has_content>
{
"name": "<@safe_include "userInfo_response_embed_joined_field_title"/>",
"value": "<@format_instant_date_time instant=joinDate/>",
"inline": "true"
},
</#if>
{
"name": "<@safe_include "userInfo_response_embed_registered_field_title"/>",
"value": "<@format_instant_date_time instant=creationDate/>",
"inline": "true"
}
<#if roles?size gt 0>
<#if roles?has_content && roles?size gt 0>
,
{
"name": "<@safe_include "userInfo_response_embed_roles_field_title"/>",
@@ -44,7 +60,7 @@
"valueSplitLength": 250
}
</#if>
<#if activities?size gt 0>
<#if activities?has_content && activities?size gt 0>
,
{
"name": "<@safe_include "userInfo_response_embed_activity_field_title"/>",

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.47</version>
<version>1.4.52</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.47</version>
<version>1.4.52</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -0,0 +1,11 @@
{
"embeds": [
{
<#assign sourceValue=sourceValue>
<#assign sourceCurrency=sourceCurrency.code>
<#assign targetValue=targetValue>
<#assign targetCurrency=targetCurrency.code>
"description": "<@safe_include "convertCurrency_response_text"/>"
}
]
}

View File

@@ -0,0 +1 @@
<#include "currency_conversion_currency_not_found_exception_text">

View File

@@ -5,7 +5,7 @@
<groupId>dev.sheldan.abstracto-templates</groupId>
<artifactId>templates</artifactId>
<version>1.4.47</version>
<version>1.4.52</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.47</tag>
<tag>templates-1.4.52</tag>
</scm>
<repositories>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.4.47</version>
<version>1.4.52</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.47</version>
<version>1.4.52</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.47</version>
<version>1.4.52</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>core</artifactId>
<version>1.4.47</version>
<version>1.4.52</version>
<build>
<plugins>
<plugin>

View File

@@ -3,7 +3,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.47</version>
<version>1.4.52</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.47</version>
<version>1.4.52</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.47</version>
<version>1.4.52</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>experience-tracking</artifactId>
<version>1.4.47</version>
<version>1.4.52</version>
<build>
<plugins>
<plugin>

View File

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

View File

@@ -0,0 +1 @@
Adds a key to the list of giveaway keys

View File

@@ -0,0 +1 @@
Adds a key identified by name and key (and optional description) to the list of keys to be used in the future

View File

@@ -0,0 +1 @@
A description for the key. Will be displayed in the giveaway

View File

@@ -0,0 +1 @@
The name of the item associated with the key

View File

@@ -0,0 +1 @@
Giveaway using a key has been created.

View File

@@ -0,0 +1 @@
Creates a giveaway using a stored key.

View File

@@ -0,0 +1 @@
Shows the current giveaway keys. With an option to also show the already used ones

Some files were not shown because too many files have changed in this diff Show More