Compare commits

..

21 Commits

Author SHA1 Message Date
Sheldan
afb1ec3368 [AB-xxx] updating remind templates for user installable support 2024-07-08 19:20:20 +02:00
Sheldan
8af4609d82 [AB-xxx] removing member author from exceptions 2024-07-08 19:20:20 +02:00
Sheldan
c291ceeb7b [AB-xxx] refactoring avatar template
adding more info and reducing some information from userInfo command
2024-07-08 19:20:20 +02:00
Sheldan
4b68d082a2 [AB-xxx] making user info template able to handle partial members 2024-07-08 19:20:20 +02:00
Sheldan
dd83009259 [AB-xxx] fixing modmail thread created message 2024-07-08 19:20:08 +02:00
release-bot
a8d7d4e1aa [maven-release-plugin] prepare for next development iteration 2024-05-30 23:18:07 +00:00
release-bot
22dc9367f4 [maven-release-plugin] prepare release templates-1.4.38 2024-05-30 23:18:05 +00:00
Sheldan
88ed051af4 [AB-xxx] refactoring the modmail to use users instead of members
adding modmailAppeal templates
2024-05-31 01:16:17 +02:00
release-bot
4a341ed479 [maven-release-plugin] prepare for next development iteration 2024-05-05 22:10:54 +00:00
release-bot
77207028a9 [maven-release-plugin] prepare release templates-1.4.37 2024-05-05 22:10:52 +00:00
Sheldan
ff0319b468 [AB-xxx] adding member details template for member displays
making reason optional for kick log
2024-05-06 00:08:49 +02:00
Sheldan
193bfe3f75 [AB-xxx] updating user banned/unbanned notification log messages to include a potential reason for unbanning
updated user_detail template to handle userDetail
removing active logging of unban/ban commands
2024-05-05 01:59:38 +02:00
Sheldan
7333ddc03c [AB-xxx] showing muting user embed title when mute duration changed 2024-05-04 20:36:21 +02:00
Sheldan
3cec9096b1 [AB-xxx] adding templates for new level action exception 2024-04-18 23:10:37 +02:00
release-bot
e1835f03f6 [maven-release-plugin] prepare for next development iteration 2024-04-05 12:27:55 +00:00
release-bot
9b34efeba4 [maven-release-plugin] prepare release templates-1.4.36 2024-04-05 12:27:53 +00:00
Sheldan
b5376688d8 [AB-xxx] adding leaderboard button to leaderboard response 2024-04-05 01:40:37 +02:00
release-bot
77baf59f80 [maven-release-plugin] prepare for next development iteration 2024-03-17 12:12:50 +00:00
release-bot
57981fa939 [maven-release-plugin] prepare release templates-1.4.35 2024-03-17 12:12:48 +00:00
Sheldan
b61046b12f [AB-111] adding templates related to moderation actions 2024-03-17 12:39:32 +01:00
release-bot
5d2559344b [maven-release-plugin] prepare for next development iteration 2024-02-28 20:30:18 +00:00
136 changed files with 349 additions and 220 deletions

View File

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

View File

@@ -0,0 +1 @@
<#macro member_detail member><#if member.name?has_content>${member.name?json_string}<#if member.discriminator?has_content && member.discriminator != '0000'>#${member.discriminator}</#if><#else>${member.memberMention}</#if> (${member.userId?c})</#macro>

View File

@@ -1 +1,2 @@
<#macro user_author user> "author": { "name": <#include "user_user_name"> "<@user_user_name user=user/>", "avatar": "${user.effectiveAvatarUrl}" }</#macro>
<#macro user_detail_author user> "author": { "name": <#include "user_user_name"> "<@user_user_name user=userDisplay/>"<#if user.avatarUrl?has_content>, "avatar": "${user.avatarUrl}"</#if>}</#macro>

View File

@@ -1 +1 @@
<#macro user_detail user>${user.name?json_string}<#if user.discriminator?number gt 0>#${user.discriminator}</#if> (${user.idLong?c})</#macro>
<#macro user_detail user><#if user.name?has_content>${user.name?json_string}<#if user.discriminator?has_content && user.discriminator != '0000'>#${user.discriminator}</#if><#else>${user.userMention}</#if> (${user.id?c})</#macro>

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.34</version>
<version>1.4.39-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.34</version>
<version>1.4.39-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.34</version>
<version>1.4.39-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>experience-tracking</artifactId>
<version>1.4.34</version>
<version>1.4.39-SNAPSHOT</version>
<build>
<plugins>
<plugin>

View File

@@ -21,4 +21,14 @@
}
}
]
<#if leaderboardUrl?has_content>
,"buttons": [
{
"label": "<@safe_include "leaderboard_leaderboard_button_label"/>",
<#assign leaderboardUrl=leaderboardUrl>
"url": "${leaderboardUrl}",
"buttonStyle": "link"
}
]
</#if>
}

View File

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

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.34</version>
<version>1.4.39-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.34</version>
<version>1.4.39-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.34</version>
<version>1.4.39-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -18,4 +18,17 @@
]
}
]
<#if moderationActionComponents?size gt 0>,
"buttons": [
<#list moderationActionComponents as moderactionAction>
{
"label": "<@safe_include "moderation_action_${moderactionAction.action}_button_label"/>",
"id": "${moderactionAction.componentId}",
"buttonStyle": "danger",
"metaConfig": {
"persistCallback": false
}
}<#sep>,</#list>
]
</#if>
}

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.34</version>
<version>1.4.39-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.34</version>
<version>1.4.39-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.34</version>
<version>1.4.39-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>moderation</artifactId>
<version>1.4.34</version>
<version>1.4.39-SNAPSHOT</version>
<build>
<plugins>
<plugin>

View File

@@ -1,40 +0,0 @@
{
"embeds": [
{
<#include "user_detail">
<#include "full_member_info">
<#assign bannedUserName=bannedUser.name>
"title": {
"title": "<@safe_include "ban_log_title"/>"
},
<#include "moderation_action_color">,
"fields": [
{
"name": "<@safe_include "ban_log_banned_user_field_title"/>",
"value": "<@user_detail user=bannedUser/>"
},
{
"name": "<@safe_include "ban_log_banning_user_field_title"/>",
"value": "<@full_member_info member=banningMember/>"
},
<#if commandMessage?has_content>
{
"name": "<@safe_include "ban_log_jump_link_field_title"/>",
"value": "[${commandMessage.channel.name?json_string}](${commandMessage.jumpUrl})"
},
</#if>
{
"name": "<@safe_include "ban_log_reason_field_title"/>",
"value": "${reason?json_string}"
}
<#if deletionDuration?has_content>
,
{
"name": "<@safe_include "ban_log_deletion_duration_field_title"/>",
"value": "${fmtDuration(deletionDuration)}"
}
</#if>
]
}
]
}

View File

@@ -1,9 +1,7 @@
{
"embeds": [
{
<#include "full_member_info">
<#include "member_author">
<@member_author member=kickedUser/>,
<#include "user_detail">
"title": {
"title": "<@safe_include "kick_log_title"/>"
},
@@ -11,22 +9,19 @@
"fields": [
{
"name": "<@safe_include "kick_log_kicked_user_field_title"/>",
"value": "<@full_member_info member=kickedUser/>"
"value": "<@user_detail user=kickedUser/>"
},
{
"name": "<@safe_include "kick_log_kicking_user_field_title"/>",
"value": "<@full_member_info member=member/>"
},
<#if messsage?has_content>
{
"name": "<@safe_include "kick_log_jump_link_field_title"/>",
"value": "[${channel.name?json_string}](${message.jumpUrl})"
},
</#if>
"value": "<@user_detail user=kickingUser/>"
}
<#if reason?has_content>
,
{
"name": "<@safe_include "kick_log_reason_field_title"/>",
"value": "${reason?json_string}"
}
</#if>
]
}
]

View File

@@ -1,10 +1,8 @@
<#include "full_member_info">
<#include "format_instant">
<#include "member_author">
<#include "member_detail">
{
"embeds": [
{
<@member_author member=mutedUser/>,
"title": {
<#if durationChanged>
"title": "<@safe_include "mute_log_title_mute_changed"/>"
@@ -13,22 +11,21 @@
<#elseif muted>
"title": "<@safe_include "mute_log_title_muted"/>"
</#if>
},
<#include "moderation_action_color">,
"fields": [
{
"name": "<@safe_include "mute_log_muted_user_field_title"/>",
"value": "<@full_member_info member=mutedUser/>"
"value": "<@member_detail member=mutedMember/>"
},
<#if mutingUser?has_content>
<#if mutingMember?has_content>
{
<#if muted>
<#if muted || durationChanged>
"name": "<@safe_include "mute_log_muting_user_field_title"/>",
<#elseif muteEnded>
"name": "<@safe_include "mute_log_unmuting_user_field_title"/>",
</#if>
"value": "<@full_member_info member=mutingUser/>"
"value": "<@member_detail member=mutingMember/>"
}
</#if>
<#if reason?has_content>,
@@ -40,7 +37,7 @@
<#if muted && !durationChanged>,
{
"name": "<@safe_include "mute_log_mute_duration_field_title"/>",
"value": "${fmtDuration(muteDuration)}"
"value": "${fmtDuration(duration)}"
},
{
"name": "<@safe_include "mute_log_muted_until_field_title"/>",

View File

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

View File

@@ -1,22 +0,0 @@
{
"embeds": [
{
<#include "user_detail">
<#include "full_member_info">
"title": {
"title": "<@safe_include "unBan_log_title"/>"
},
<#include "moderation_action_color">,
"fields": [
{
"name": "<@safe_include "unBan_log_un_banned_user_field_title"/>",
"value": "<@user_detail user=bannedUser/>"
},
{
"name": "<@safe_include "unBan_log_un_banning_user_field_title"/>",
"value": "<@full_member_info member=unBanningMember/>"
}
]
}
]
}

View File

@@ -1,9 +1,6 @@
{
"embeds": [
{
<#include "full_member_info">
<#include "member_author">
<@member_author member=warnedMember/>,
"title": {
"title": "<@safe_include "warn_log_title"/>"
},
@@ -11,18 +8,12 @@
"fields": [
{
"name": "<@safe_include "warn_log_warned_user_field_title"/>",
"value": "<@full_member_info member=warnedMember/>"
"value": "${warnedMember.memberMention}"
},
<#if member?has_content>
<#if warningMember?has_content>
{
"name": "<@safe_include "warn_log_warning_user_field_title"/>",
"value": "<@full_member_info member=member/>"
},
</#if>
<#if message?has_content>
{
"name": "<@safe_include "warn_log_warn_location_field_title"/>",
"value": "[${channel.name?json_string}](${message.jumpUrl})"
"value": "${warningMember.memberMention}"
},
</#if>
{

View File

@@ -1,7 +1,6 @@
{
"embeds": [
{
<#include "user_detail">
<#include "full_member_info">
<#include "moderation_action_color">,
<#assign newLevel=newLevel>

View File

@@ -0,0 +1,24 @@
{
"id": "${modalId}",
"title": "<@safe_include "moderationAction_ban_modal_title"/>",
"textInputs": [
{
"placeHolder": "<@safe_include "moderationAction_ban_modal_reason_placeholder"/>",
"id": "${reasonComponentId}",
"position": 1,
"label": "<@safe_include "moderationAction_ban_modal_reason_label"/>",
"style": "paragraph",
"maxLength": 2000,
"required": false
},
{
"placeHolder": "<@safe_include "moderationAction_ban_modal_duration_placeholder"/>",
"id": "${durationComponentId}",
"position": 2,
"label": "<@safe_include "moderationAction_ban_modal_duration_label"/>",
"style": "short",
"maxLength": 50,
"required": false
}
]
}

View File

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

View File

@@ -0,0 +1,15 @@
{
"id": "${modalId}",
"title": "<@safe_include "moderationAction_kick_modal_title"/>",
"textInputs": [
{
"placeHolder": "<@safe_include "moderationAction_kick_modal_reason_placeholder"/>",
"id": "${reasonComponentId}",
"position": 1,
"label": "<@safe_include "moderationAction_kick_modal_reason_label"/>",
"style": "paragraph",
"maxLength": 2000,
"required": false
}
]
}

View File

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

View File

@@ -0,0 +1,24 @@
{
"id": "${modalId}",
"title": "<@safe_include "moderationAction_mute_modal_title"/>",
"textInputs": [
{
"placeHolder": "<@safe_include "moderationAction_mute_modal_reason_placeholder"/>",
"id": "${reasonComponentId}",
"position": 1,
"label": "<@safe_include "moderationAction_mute_modal_reason_label"/>",
"style": "paragraph",
"maxLength": 2000,
"required": false
},
{
"placeHolder": "<@safe_include "moderationAction_mute_modal_duration_placeholder"/>",
"id": "${durationComponentId}",
"position": 2,
"label": "<@safe_include "moderationAction_mute_modal_duration_label"/>",
"style": "short",
"maxLength": 50,
"required": false
}
]
}

View File

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

View File

@@ -0,0 +1,15 @@
{
"id": "${modalId}",
"title": "<@safe_include "moderationAction_warn_modal_title"/>",
"textInputs": [
{
"placeHolder": "<@safe_include "moderationAction_warn_modal_reason_placeholder"/>",
"id": "${reasonComponentId}",
"position": 1,
"label": "<@safe_include "moderationAction_warn_modal_reason_label"/>",
"style": "paragraph",
"maxLength": 2000,
"required": false
}
]
}

View File

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

View File

@@ -33,5 +33,15 @@
"persistCallback": false
}
}
<#if moderationActionComponents?size gt 0>,</#if>
<#list moderationActionComponents as moderactionAction>
{
"label": "<@safe_include "moderation_action_${moderactionAction.action}_button_label"/>",
"id": "${moderactionAction.componentId}",
"buttonStyle": "danger",
"metaConfig": {
"persistCallback": false
}
}<#sep>,</#list>
]
}

View File

@@ -3,8 +3,12 @@
{
<#include "user_detail">
<#include "abstracto_color">,
<#assign bannedUserName=bannedUser.name>
"description" : "<@safe_include "userBanned_description"/>",
<#if bannedUser.name?has_content>
<#assign bannedUserName=bannedUser.name>
"description" : "<@safe_include "userBanned_description_with_name"/>",
<#else>
"description" : "<@safe_include "userBanned_description"/>",
</#if>
"fields": [
{
"name": "<@safe_include "userBanned_field_title_banned_user"/>",

View File

@@ -16,6 +16,13 @@
"value": "<@user_detail user=unBanningUser/>"
}
</#if>
<#if reason??>
,
{
"name": "<@safe_include "userUnBanned_field_title_reason"/>",
"value": "${reason}"
}
</#if>
]
}
]

View File

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

View File

@@ -1,8 +1,8 @@
{
"embeds": [
{
<#include "member_author">
<@member_author member=targetMember/>,
<#include "user_author">
<@user_detail_author user=userDisplay/>,
"description": "<@safe_include "modmail_thread_created_description"/>",
<#include "modmail_color">,
"fields": [

View File

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

View File

@@ -1,13 +1,12 @@
<#include "user_detail">
{
"embeds": [
{
<#include "member_author">
<@member_author member=member/>,
"title": {
"title": "<@safe_include "modmail_notification_message_title"/>"
},
<#include "modmail_color">,
<#assign user><@member_user_name member=member/>(${member.user.id})</#assign>
<#assign user><@user_detail user=userDisplay/></#assign>
"description": "<@safe_include "modmail_notification_message_description"/>"
<#if channel?has_content>,
"fields": [

View File

@@ -1,8 +1,8 @@
{
"embeds": [
{
<#include "member_author">
<@member_author member=member/>,
<#include "user_author">
<@user_detail_author user=userDisplay/>,
"title": {
"title": "<@safe_include "modmail_thread_user_message_title"/>"
},

View File

@@ -1,13 +1,10 @@
<#include "format_instant">
<#include "user_detail">
{
"embeds": [
{
<#include "member_author">
<@member_author member=member/>,
<#include "modmail_color">,
<#assign user><@member_user_name member=member/> (${member.user.id})</#assign>
<#assign joinDate><@format_instant_date_time instant=memberJoinDate/></#assign>
<#assign roles><#list member.roles as role>${role.asMention?json_string}<#sep>,<#else><@safe_include "modmail_thread_header_no_roles"/></#list></#assign>
<#assign user><@user_detail user=userDisplay/> (${userDisplay.id?c})</#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.34</version>
<version>1.4.39-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.34</version>
<version>1.4.39-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.34</version>
<version>1.4.39-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -28,4 +28,17 @@
]
}
]
<#if moderationActionComponents?size gt 0>,
"buttons": [
<#list moderationActionComponents as moderactionAction>
{
"label": "<@safe_include "moderation_action_${moderactionAction.action}_button_label"/>",
"id": "${moderactionAction.componentId}",
"buttonStyle": "danger",
"metaConfig": {
"persistCallback": false
}
}<#sep>,</#list>
]
</#if>
}

View File

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

View File

@@ -1,10 +1,10 @@
{
"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": [
{
@@ -13,18 +13,22 @@
},
{
"name": "<@safe_include "remind_reminder_note_field_title"/>",
"value": "${reminder.text?json_string}"
},
"value": "${reminderDisplay.text?json_string}"
}
<#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>
@@ -17,8 +16,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"/>",
@@ -29,4 +31,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"/>"
@@ -17,7 +17,7 @@
<#assign id>${reminderDisplay.id}</#assign>
<#assign reminderTargetDate><@format_instant_date_time instant=reminderDisplay.targetDate/></#assign>
<#assign reminderText=reminderDisplay.text/>
<#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.34</version>
<version>1.4.39-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.34</version>
<version>1.4.39-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.34</version>
<version>1.4.39-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>statistic</artifactId>
<version>1.4.34</version>
<version>1.4.39-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.34</version>
<version>1.4.39-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.34</version>
<version>1.4.39-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.34</version>
<version>1.4.39-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.34</version>
<version>1.4.39-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>utility</artifactId>
<version>1.4.34</version>
<version>1.4.39-SNAPSHOT</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.34</version>
<version>1.4.39-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.34</version>
<version>1.4.39-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.34</version>
<version>1.4.39-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.34</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.34</version>
<version>1.4.39-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.34</version>
<version>1.4.39-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.34</version>
<version>1.4.39-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>core</artifactId>
<version>1.4.34</version>
<version>1.4.39-SNAPSHOT</version>
<build>
<plugins>
<plugin>

View File

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

View File

@@ -1 +0,0 @@
User ${bannedUserName} has been banned.

View File

@@ -0,0 +1 @@
Not possible to send user notification about the mute.

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