Compare commits

..

31 Commits

Author SHA1 Message Date
Sheldan
a7f3a902f9 [maven-release-plugin] prepare release templates-1.2.21 2021-10-25 23:06:58 +02:00
Sheldan
ad5dfaefed [AB-339] adjusting templates for softBan to banDelete change 2021-10-25 01:22:29 +02:00
Sheldan
479c100220 [AB-167] adding templates for infraction tracking and post target disabling
adding some missing templates
adding post target disabled state to post target output
2021-10-25 00:06:09 +02:00
Sheldan
cc584d711c [AB-333] refactoring templates to use Discord time stamp formatting 2021-10-14 01:33:29 +02:00
Sheldan
ecb8824614 [AB-334] adding suggestion vote result to suggestion reminder templates 2021-10-13 18:01:39 +02:00
Sheldan
61f3910878 [AB-331] adding templates for the separate vote decision 2021-09-28 22:20:54 +02:00
Sheldan
e53d75dcc8 [AB-332] adding templates for "no warnings" message 2021-09-28 22:04:02 +02:00
Sheldan
93b0bf33ca [AB-196] adding templates for command confirmations 2021-09-27 00:24:42 +02:00
Sheldan
a4aa0ddb6c [AB-319] splitting emotes into two separate fields (animated and static) for server info 2021-09-10 00:41:53 +02:00
Sheldan
8420b32233 [AB-297] adding guild names to invite filter notification (if available) 2021-09-08 23:05:28 +02:00
Sheldan
e19d2f777d [maven-release-plugin] prepare for next development iteration 2021-09-06 01:46:21 +02:00
Sheldan
3f80fabf69 [maven-release-plugin] prepare release templates-1.2.20 2021-09-06 01:46:17 +02:00
Sheldan
a14b6f4d67 [AB-268] adding templates for suggestion button features 2021-09-06 01:43:05 +02:00
Sheldan
19135a7312 [AB-xxx] updating docs response 2021-09-05 20:41:47 +02:00
Sheldan
3f8a0c81db [AB-318] adding reference to original message to embedded message 2021-09-04 16:35:32 +02:00
Sheldan
bace0facee [AB-xxx] fixing profanity report json safety 2021-08-21 16:07:05 +02:00
Sheldan
1d518337c4 [maven-release-plugin] prepare for next development iteration 2021-08-09 23:45:52 +02:00
Sheldan
c00852f2cb [maven-release-plugin] prepare release templates-1.2.19 2021-08-09 23:45:45 +02:00
Sheldan
4e11c09112 [AB-xxx] fixing closing notification message 2021-08-09 23:41:25 +02:00
Sheldan
e6d0688d45 [maven-release-plugin] prepare for next development iteration 2021-07-25 20:23:29 +02:00
Sheldan
772e63684b [maven-release-plugin] prepare release templates-1.2.18 2021-07-25 20:23:19 +02:00
Sheldan
ea43c7b503 [AB-xxx] fixing template for booster assignable role exception 2021-07-22 01:10:26 +02:00
Sheldan
9908d69432 [maven-release-plugin] prepare for next development iteration 2021-07-21 23:27:33 +02:00
Sheldan
3c2dab9ade [maven-release-plugin] prepare release templates-1.2.17 2021-07-21 23:27:25 +02:00
Sheldan
f7d357968a [AB-300] adding template for modmamil channel names 2021-07-21 01:38:31 +02:00
Sheldan
460fb45ca2 [AB-311] adding softban related templates 2021-07-20 02:01:59 +02:00
Sheldan
3682ca980e [AB-308] adding templates required for booster assignable role places 2021-07-18 18:54:20 +02:00
Sheldan
9d6074e25c [maven-release-plugin] prepare for next development iteration 2021-07-14 02:12:26 +02:00
Sheldan
9751e1d09c [maven-release-plugin] prepare release templates-1.2.16 2021-07-14 02:12:16 +02:00
Sheldan
8632a4cf79 [AB-71] adding templates for anti raid module
changing button style in assignable role place to secondary for better contrast
2021-07-14 01:50:16 +02:00
Sheldan
9db7d654d3 [maven-release-plugin] prepare for next development iteration 2021-07-13 00:51:37 +02:00
148 changed files with 449 additions and 102 deletions

View File

@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.2.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>anti-raid</artifactId>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<finalName>anti-raid-templates-${project.version}</finalName>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>src/main/assembly/assembly.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

View File

@@ -0,0 +1,15 @@
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
<id>zip</id>
<includeBaseDirectory>false</includeBaseDirectory>
<formats>
<format>zip</format>
</formats>
<fileSets>
<fileSet>
<outputDirectory>.</outputDirectory>
<directory>${project.basedir}/src/main/resources</directory>
</fileSet>
</fileSets>
</assembly>

View File

@@ -0,0 +1,16 @@
{
<#include "moderation_action_color">,
<#assign mentionCount=mentionCount/>
<#assign memberMention=memberDisplay.memberMention/>
"description": "<@safe_include "massPing_mute_notification_embed_description"/>",
"fields": [
{
"name": "<@safe_include "massPing_mute_notification_embed_message_content_field_title"/>",
"value": "${messageContent?json_string}"
},
{
"name": "<@safe_include "massPing_mute_notification_embed_message_link_field_title"/>",
"value": "[<@safe_include "massPing_mute_notification_embed_message_link_field_value"/>](${messageLink})"
}
]
}

View File

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

View File

@@ -1,6 +1,9 @@
{
<#include "assignable_place_color">,
"description": "<#assign channelMention><#if channelDisplay??>${channelDisplay.channelMention}<#else><@safe_include "assignable_roles_config_embed_no_channel_found"/></#if></#assign><@safe_include "assignable_roles_config_embed_place_description"/>
"description": "<#assign channelMention><#if channelDisplay??>${channelDisplay.channelMention}<#else><@safe_include "assignable_roles_config_embed_no_channel_found"/></#if></#assign>
<#assign typeDescription><@safe_include "assignable_role_place_type_description_${type}"/></#assign>
<@safe_include "assignable_roles_config_embed_place_description"/>
<@safe_include "assignable_roles_config_embed_role_header"/>:
<#list roles as role><#assign role=role/>
<#assign emoteMention><#if role.emoteMarkDown??>${role.emoteMarkDown}<#else>No emote</#if></#assign>

View File

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

View File

@@ -7,7 +7,7 @@
{
"label": "${role.description?json_string}",
"id": "${role.componentId}",
"buttonStyle": "primary",
"buttonStyle": "secondary",
<#if role.emoteMarkDown??>
"emoteMarkdown": "${role.emoteMarkDown?json_string}",
</#if>

View File

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

View File

@@ -0,0 +1,8 @@
<#macro format_instant instant><t:${instant.epochSecond?c}></#macro>
<#macro format_instant_time instant><t:${instant.epochSecond?c}:t></#macro>
<#macro format_instant_long_time instant><t:${instant.epochSecond?c}:T></#macro>
<#macro format_instant_date instant><t:${instant.epochSecond?c}:d></#macro>
<#macro format_instant_long_date instant><t:${instant.epochSecond?c}:D></#macro>
<#macro format_instant_date_time instant><t:${instant.epochSecond?c}:f></#macro>
<#macro format_instant_long_date_time instant><t:${instant.epochSecond?c}:F></#macro>
<#macro format_instant_relative instant><t:${instant.epochSecond?c}:R></#macro>

View File

@@ -0,0 +1,8 @@
{
<#include "abstracto_color">,
"metaConfig" : {
"preventEmptyEmbed": "true",
"ephemeral": true
},
"description": "<@safe_include "command_aborted_notification_text"/>"
}

View File

@@ -0,0 +1,23 @@
{
<#include "assignable_place_color">,
<#assign text><#include "${commandName}_confirmation"></#assign>
"description": "${text?json_string}",
"buttons": [
{
"label": "<@safe_include "command_confirmation_message_confirm_field_title"/>",
"id": "${confirmButtonId}",
"buttonStyle": "secondary",
"metaConfig": {
"persistCallback": false
}
},
{
"label": "<@safe_include "command_confirmation_message_abort_field_title"/>",
"id": "${abortButtonId}",
"buttonStyle": "secondary",
"metaConfig": {
"persistCallback": false
}
}
]
}

View File

@@ -6,6 +6,7 @@
"description": "
<#list postTargets as postTarget><#assign postTarget=postTarget/>
<#assign postTargetName>${postTarget.postTarget.name?json_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>
<@safe_include "posttarget_post_target_text"/>

View File

@@ -0,0 +1,2 @@
<#assign postTargetKey=model.postTargetKey>
<#include "post_target_not_usable_exception_text">

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.2.15</version>
<version>1.2.21</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.2.15</version>
<version>1.2.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>experience-tracking</artifactId>
<version>1.2.15</version>
<version>1.2.21</version>
<build>
<plugins>
<plugin>

View File

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

View File

@@ -7,7 +7,7 @@
"fields": [
{
"name": "<@safe_include "invite_link_deleted_invite_field_header"/>",
"value": "<#list invites as invite><#if invite.count gt 1>${invite.count}x </#if>${invite.code}<#sep>, </#list>"
"value": "<#list invites as invite><#if invite.count gt 1>${invite.count}x </#if>${invite.code}<#if invite.guildName?has_content> (${invite.guildName})</#if><#sep>, </#list>"
},
{
"name": "<@safe_include "invite_link_deleted_message_link_title"/>",

View File

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

View File

@@ -53,5 +53,13 @@
}
],
</#if>
<#if mentionsReferencedMessage?has_content>
"metaConfig": {
"mentionsReferencedMessage": ${mentionsReferencedMessage?string('true', 'false')}
},
</#if>
"timeStamp": "${embeddedMessage.timeCreated}"
<#if referencedMessageId?has_content>
,"referencedMessageId": "${referencedMessageId?c}"
</#if>
}

View File

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

View File

@@ -22,5 +22,12 @@
"name": "<@safe_include "ban_log_reason_field_title"/>",
"value": "${reason?json_string}"
}
<#if deletionDays gt 0>
,
{
"name": "<@safe_include "ban_log_deletion_days_field_title"/>",
"value": "${deletionDays?c}"
}
</#if>
]
}

View File

@@ -1,3 +1,4 @@
<#include "format_instant">
{
"author": {
<#if specifiedUser??>
@@ -21,7 +22,7 @@
<#assign user><#if note.fullUser.member?has_content>${note.fullUser.member.asMention?json_string}<#else>${note.fullUser.aUserInAServer.userReference.id?c}</#if></#assign>
<#assign noteText>${note.note.note?json_string}</#assign>
<#assign noteId>${note.note.userNoteId.id}</#assign>
<#assign date>${formatDate(note.note.created, "yyyy-MM-dd HH:mm:ss zz")}</#assign>
<#assign date><@format_instant_date_time instant=note.note.created/></#assign>
<@safe_include "user_notes_note_entry"/><#else><@safe_include "user_notes_no_notes"/>
</#list>"
}

View File

@@ -1,6 +1,7 @@
<#include "full_member_info">
<#include "format_instant">
<#include "member_author">
{
<#include "full_member_info">
<#include "member_author">
<@member_author member=mutedUser/>,
"title": {
"title": "<@safe_include "mute_log_title"/>"
@@ -29,7 +30,7 @@
},
{
"name": "<@safe_include "mute_log_muted_until_field_title"/>",
"value": "${formatDate(muteTargetDate, "yyyy-MM-dd HH:mm:ss zz")}"
"value": "<@format_instant_date_time instant=muteTargetDate/>"
}
],
"footer": {

View File

@@ -1,5 +1,6 @@
<#include "full_member_info">
<#include "format_instant">
{
<#include "full_member_info">
<#if unMutedUser?has_content>
<#include "member_author">
<@member_author member=unMutedUser/>,
@@ -34,7 +35,7 @@
</#if>
{
"name": "<@safe_include "unMute_log_muted_since_field_title"/>",
"value": "${formatDate(mute.muteDate, "yyyy-MM-dd HH:mm:ss zz")}"
"value": "<@format_instant_date_time instant=mute.muteDate/>"
},
{
"name": "<@safe_include "mute_log_mute_duration_field_title"/>",

View File

@@ -0,0 +1,4 @@
{
<#include "moderation_action_color">,
"description": "<@safe_include "warnings_no_warnings_found_text"/>"
}

View File

@@ -1,11 +1,12 @@
<#include "format_instant">
<#assign warnId>${warning.warning.warnId.id}</#assign>
<#assign reason>${warning.warning.reason}</#assign>
<#assign warnedUserText><#if warning.warnedUser.member??>${warning.warnedUser.member.asMention}(${warning.warnedUser.member.user.id})<#else>${warning.warnedUser.userId?c}</#if></#assign>
<#assign warningUserText><#if warning.warningUser.member??>${warning.warningUser.member.asMention}(${warning.warningUser.member.user.id})<#else>${warning.warningUser.userId?c}</#if></#assign>
<#assign warnDate>${formatDate(warning.warning.warnDate, "yyyy-MM-dd HH:mm:ss zz")}</#assign>
<#assign warnDate><@format_instant_date_time instant=warning.warning.warnDate/></#assign>
<#include "warnings_warn_entry_text">
<#if warning.warning.decayed>
<#assign decayDate>${formatDate(warning.warning.decayDate, "yyyy-MM-dd HH:mm:ss zz")}</#assign>
<#assign decayDate><@format_instant_date_time instant=warning.warning.decayDate/></#assign>
<#include "warnings_warn_is_decayed">
</#if>

View File

@@ -0,0 +1,11 @@
{
<#include "user_detail">
<#include "full_member_info">
<#include "moderation_action_color">,
<#assign newLevel=newLevel>
<#assign oldLevel=oldLevel>
<#assign newPoints=newPoints>
<#assign oldPoints=oldPoints>
<#assign memberMention=member.memberMention>
"description" :"<@safe_include "infraction_level_notification_description"/>"
}

View File

@@ -1,10 +1,11 @@
<#include "format_instant">
{
"title": {
"title": "<@safe_include "warnDecay_title"/>"
},
<#include "moderation_action_color">,
"description": "<#list warnings as warning><#assign warning=warning/>
<#if warning.warnedMember??><#assign warnedUser>${warning.warnedMember.asMention?json_string} (${warning.warnedMember.idLong?c})</#assign><#else><#assign warnedUser> ${warning.warnedUser.userId?c}</#assign></#if> <#if warning.warningMember??><#assign warningUser> ${warning.warningMember.asMention?json_string} (${warning.warningMember.idLong?c})</#assign><#else><#assign warningUser>${warning.warningUser.warningUser.userId?c}</#assign></#if> <#assign warnDate>${formatDate(warning.warning.warnDate, "yyyy-MM-dd HH:mm:ss zz")}</#assign><#assign warnReason=warning.warning.reason/> <@safe_include "warnDecay_log_warn_entry"/>
<#if warning.warnedMember??><#assign warnedUser>${warning.warnedMember.asMention?json_string} (${warning.warnedMember.idLong?c})</#assign><#else><#assign warnedUser> ${warning.warnedUser.userId?c}</#assign></#if> <#if warning.warningMember??><#assign warningUser> ${warning.warningMember.asMention?json_string} (${warning.warningMember.idLong?c})</#assign><#else><#assign warningUser>${warning.warningUser.warningUser.userId?c}</#assign></#if> <#assign warnDate><@format_instant_date_time instant=warning.warning.warnDate/></#assign><#assign warnReason=warning.warning.reason/> <@safe_include "warnDecay_log_warn_entry"/>
<#else>
<@safe_include "warnDecay_log_no_warnings"/>
</#list>"

View File

@@ -1,6 +1,7 @@
<#include "format_instant">
{
<#assign reason=warnReason>
<#assign warningDate>${formatDate(warnDate, "yyyy-MM-dd HH:mm:ss zz")}</#assign>
<#assign warningDate><@format_instant_date_time instant=warnDate/></#assign>
<#assign remainingWarningsCount=remainingWarningsCount>
"additionalMessage": "<@safe_include "warnDecay_member_notification_text"/>"
}

View File

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

View File

@@ -1,3 +1,4 @@
<#include "format_instant">
{
<#include "user_detail">
"title": {
@@ -7,7 +8,7 @@
<#assign messageCount>${messageCount}</#assign>
<#assign user><#if user??><@user_detail user=user/><#else>${userId}</#if></#assign>
<#assign closingUserDescription><@member_user_name member=closingMember/> (${closingMember.idLong?c})</#assign>
<#assign startDate>${formatDate(startDate,"yyyy-MM-dd HH:mm:ss zz")}</#assign>
<#assign startDate><@format_instant_date_time instant=startDate/></#assign>
<#assign duration>${fmtDuration(duration)}</#assign>
<#assign closedSilently=silently>
"description": "<@safe_include "close_closing_description"/>"

View File

@@ -1,9 +1,10 @@
<#include "format_instant">
{
<#include "member_author">
<@member_author member=member/>,
<#include "modmail_color">,
<#assign user><@member_user_name member=member/> (${member.user.id})</#assign>
<#assign joinDate>${member.timeJoined}</#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>
"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.2.15</version>
<version>1.2.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.2.15</version>
<version>1.2.21</version>
<modules>
<module>core</module>
@@ -32,6 +32,7 @@
<module>invite-filter</module>
<module>profanity-filter</module>
<module>voice-channel-context</module>
<module>anti-raid</module>
</modules>
</project>

View File

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

View File

@@ -15,12 +15,12 @@
},
{
"name": "<@safe_include "profanityListener_report_embed_profanity_type_field_title"/>",
"value": "${profanityGroupKey}",
"value": "${profanityGroupKey?json_string}",
"inline": "true"
},
{
"name": "<@safe_include "profanityListener_report_embed_message_content_field_title"/>",
"value": "${profaneMessage.contentRaw}",
"value": "${profaneMessage.contentRaw?json_string}",
"inline": "true"
}
]

View File

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

View File

@@ -1,3 +1,4 @@
<#include "format_instant">
{
<#include "member_author">
<@member_author member=member/>,
@@ -12,7 +13,7 @@
<#list reminders as reminderDisplay><#assign reminderDisplay=reminderDisplay/>
{
<#assign id>${reminderDisplay.reminder.id}</#assign>
<#assign reminderTargetDate>${formatDate(reminderDisplay.reminder.targetDate,"yyyy-MM-dd HH:mm:ss zz")}</#assign>
<#assign reminderTargetDate><@format_instant_date_time instant=reminderDisplay.reminder.targetDate/></#assign>
<#assign reminderText=reminderDisplay.reminder.text/>
<#assign messageLink=reminderDisplay.message.jumpUrl/>
"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.2.15</version>
<version>1.2.21</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.2.15</version>
<version>1.2.21</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.2.15</version>
<version>1.2.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>statistic</artifactId>
<version>1.2.15</version>
<version>1.2.21</version>
<build>
<plugins>
<plugin>

View File

@@ -1,7 +1,8 @@
<#include "format_instant">
{
<#assign guildName=guild.name>
<#if statsSince?has_content>
<#assign sinceDate>${formatDate(statsSince, "yyyy-MM-dd")}</#assign>
<#assign sinceDate><@format_instant_long_date instant=statsSince/></#assign>
</#if>
"additionalMessage": "<@safe_include "downloadEmoteStats_response_embed_text"/>"
}

View File

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

View File

@@ -0,0 +1,6 @@
{
<#include "abstracto_color">,
<#assign agreements=agreements>
<#assign disagreements=disagreements>
"description": "<@safe_include "suggestion_info_response_embed_description"/>"
}

View File

@@ -9,6 +9,34 @@
<#if message?? && message.attachments?size gt 0>
"imageUrl": "${message.attachments[0].proxyUrl}",
</#if>
<#if useButtons>
"buttons": [
{
"label": "<@safe_include "suggest_button_agree_label"/>",
"id": "${agreeButtonModel.buttonId}",
"buttonStyle": "success",
"metaConfig": {
"persistCallback": false
}
},
{
"label": "<@safe_include "suggest_button_disagree_label"/>",
"id": "${disAgreeButtonModel.buttonId}",
"buttonStyle": "danger",
"metaConfig": {
"persistCallback": false
}
},
{
"label": "<@safe_include "suggest_button_reset_vote_label"/>",
"id": "${removeVoteButtonModel.buttonId}",
"buttonStyle": "secondary",
"metaConfig": {
"persistCallback": false
}
}
],
</#if>
"footer": {
"text": "<@safe_include "suggest_suggestion_id_footer"/>"
}

View File

@@ -1,7 +1,10 @@
<#include "format_instant">
{
<#assign suggestionId=suggestionId>
<#assign suggestionDate>${formatDate(suggestionCreationDate, "yyyy-MM-dd HH:mm:ss zz")}</#assign>
<#assign suggestionDate><@format_instant_date_time instant=suggestionCreationDate/></#assign>
<#assign suggestionLink=suggestionMessage.jumpUrl>
<#assign agreements=suggestionInfo.agreements>
<#assign disagreements=suggestionInfo.disagreements>
<#include "abstracto_color"/>,
"description": "<@safe_include "suggestionReminderJob_description"/>"
}

View File

@@ -1,19 +1,25 @@
{
<#assign id>${suggestionId}</#assign>
"additionalMessage": "<@safe_include "suggest_state_${state?lower_case}_comment"/>",
<#if reason?has_content || message?? && message.attachments?size gt 0>
<#include "abstracto_color">,
<#if message?? && message.attachments?size gt 0>
"imageUrl": "${message.attachments[0].proxyUrl}",
</#if>
<#if reason?has_content>
"fields": [
{
"name": "<@safe_include "suggest_reason_field_title"/>",
"value": "${reason?json_string}"
}
],
</#if>
<#include "abstracto_color">,
<#if message?? && message.attachments?size gt 0>
"imageUrl": "${message.attachments[0].proxyUrl}",
</#if>
"fields": [
<#if reason?has_content>
{
"name": "<@safe_include "suggest_reason_field_title"/>",
"value": "${reason?json_string}"
},
</#if>
{
"name": "<@safe_include "suggestion_agreements_field_title"/>",
"value": "${agreeVotes?c}"
},
{
"name": "<@safe_include "suggestion_disagreements_field_title"/>",
"value": "${disAgreeVotes?c}"
}
],
"referencedMessageId": "${originalMessageId?c}"
}

View File

@@ -0,0 +1,8 @@
{
<#include "abstracto_color">,
"metaConfig" : {
"preventEmptyEmbed": "true",
"ephemeral": true
},
"description": "<@safe_include "suggestion_vote_agreement_notification_text"/>"
}

View File

@@ -0,0 +1,8 @@
{
<#include "abstracto_color">,
"metaConfig" : {
"preventEmptyEmbed": "true",
"ephemeral": true
},
"description": "<@safe_include "suggestion_vote_disagreement_notification_text"/>"
}

View File

@@ -0,0 +1,8 @@
{
<#include "abstracto_color">,
"metaConfig" : {
"preventEmptyEmbed": "true",
"ephemeral": true
},
"description": "<@safe_include "suggestion_vote_removed_notification_text"/>"
}

View File

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

View File

@@ -45,8 +45,13 @@
"inline": "true"
},
{
"name": "<@safe_include "serverinfo_embed_emotes_title"/>",
"value": "<#list guild.emotes as emote>${emote.asMention}<#sep> <#else><@safe_include "serverinfo_embed_emotes_no_emotes"/></#list>",
"name": "<@safe_include "serverinfo_embed_static_emotes_title"/>",
"value": "<#list staticEmotes as emote>${emote.markDown}<#sep> <#else><@safe_include "serverinfo_embed_emotes_no_emotes"/></#list>",
"inline": "true"
},
{
"name": "<@safe_include "serverinfo_embed_animated_emotes_title"/>",
"value": "<#list animatedEmotes as emote>${emote.markDown}<#sep> <#else><@safe_include "serverinfo_embed_emotes_no_emotes"/></#list>",
"inline": "true"
},
{

View File

@@ -1,3 +1,4 @@
<#include "format_instant">
{
<#include "member_author">
<@member_author member=memberInfo/>,
@@ -23,12 +24,12 @@
},
{
"name": "<@safe_include "userInfo_response_embed_joined_field_title"/>",
"value": "${formatDate(memberInfo.timeJoined, "yyyy-MM-dd HH:mm:ss zz")}",
"value": "<@format_instant_date_time instant=joinDate/>",
"inline": "true"
},
{
"name": "<@safe_include "userInfo_response_embed_registered_field_title"/>",
"value": "${formatDate(memberInfo.timeCreated, "yyyy-MM-dd HH:mm:ss zz")}",
"value": "<@format_instant_date_time instant=creationDate/>",
"inline": "true"
}
<#if memberInfo.activities?size gt 0>

View File

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

View File

@@ -5,7 +5,7 @@
<groupId>dev.sheldan.abstracto-templates</groupId>
<artifactId>templates</artifactId>
<version>1.2.15</version>
<version>1.2.21</version>
<modules>
<module>abstracto-modules</module>
@@ -23,7 +23,7 @@
<scm>
<url>https://maven.pkg.github.com/Sheldan/abstracto-templates</url>
<developerConnection>scm:git:git@github.com:Sheldan/abstracto-templates.git</developerConnection>
<tag>templates-1.2.15</tag>
<tag>templates-1.2.21</tag>
</scm>
<repositories>

View File

@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.2.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>anti-raid</artifactId>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<finalName>anti-raid-translations-${project.version}</finalName>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>src/main/assembly/assembly.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

View File

@@ -0,0 +1,15 @@
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
<id>zip</id>
<includeBaseDirectory>false</includeBaseDirectory>
<formats>
<format>zip</format>
</formats>
<fileSets>
<fileSet>
<outputDirectory>.</outputDirectory>
<directory>${project.basedir}/src/main/resources</directory>
</fileSet>
</fileSets>
</assembly>

View File

@@ -0,0 +1 @@
The min level of members to get muted automatically because of a mass mention. Only considered when the feature 'experience' is enabled. Default: ${defaultValue}

View File

@@ -0,0 +1 @@
The channel in which mass ping mutes should be logged to. Currently: ${currentTarget}

View File

@@ -0,0 +1 @@
${memberMention} was muted for mentioning ${mentionCount} members.

View File

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

View File

@@ -1,2 +1,3 @@
Creates an assignable role place with the given name used as key to identify it. The provided description will be displayed when it is posted.
This does not create any messages, only creates the instance in the database and can be removed with `deleteAssignableRolePlace`.
This does not create any messages, only creates the instance in the database and can be removed with `deleteAssignableRolePlace`.
A `booster` assignable role place only allows boosting members to receive roles and automatically removes the roles if the member stops boosting.

View File

@@ -0,0 +1 @@
Defines the type of this assignable role place. Possible values `default` and `booster`.

View File

@@ -0,0 +1 @@
Do you really want to delete the assignable role place?

View File

@@ -1,2 +1,3 @@
Configuration for assignable roles for assignable role place `${placeName}`, shown with text: `${placeText}` to be posted in ${channelMention}.
It is ${uniqueRoles?string('not possible', 'possible')} to have multiple roles at once.
It is ${uniqueRoles?string('not possible', 'possible')} to have multiple roles at once.
${typeDescription}

View File

@@ -0,0 +1 @@
You have not boosted - this is a booster only assignable role place.

View File

@@ -1 +1 @@
Assignable role place ${placeName} does not exist.
Assignable role place ${placeName} already exist.

View File

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

View File

@@ -0,0 +1 @@
Do you want to delete the alias?

View File

@@ -0,0 +1,3 @@
Post targets can be disabled, which means they will not be used to send any messages to.
Some features can ignore this, and just function normally, some features might require a post target to be enabled in order to function correctly.
Use the `posttarget` command to view the state of each post target.

View File

@@ -0,0 +1 @@
The key of the post target to disable

View File

@@ -1,2 +1,2 @@
Documentation is available in [HTML](https://github.com/Sheldan/abstracto-docs/current) and [PDF](https://github.com/Sheldan/abstracto-docs/current/documentation.pdf).
They are also available for older versions via https://github.com/Sheldan/abstracto-docs/$VERSION.
Documentation is available in [HTML](https://sheldan.github.io/abstracto-docs/current/) and [PDF](https://sheldan.github.io/abstracto-docs/current/documentation.pdf).
They are also available for older versions via https://sheldan.github.io/abstracto-docs/$VERSION.

View File

@@ -0,0 +1,3 @@
Post targets can be disabled, which means they will not be used to send any messages to.
Some features can ignore this, and just function normally, some features might require a post target to be enabled in order to function correctly.
Use the `posttarget` command to view the state of each post target.

View File

@@ -0,0 +1 @@
The key of the post target to enable

View File

@@ -1 +1 @@
Post target ${postTargetName} points to ${channelMention}.
Post target ${postTargetName} points to ${channelMention}. (${statusIndicator})

View File

@@ -0,0 +1 @@
Post target ${postTargetKey} is not available. It is either not defined or has been disabled.

View File

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

View File

@@ -0,0 +1 @@
Do you really want to set the role to be used in the experience system?

View File

@@ -0,0 +1 @@
Do you really want to synchronize all experience roles on this server? This can take a long time.

View File

@@ -0,0 +1 @@
Do you really want to remove the role from the experience system? A re-calculation is being done, this can take a while depending on the members having the role.

View File

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

View File

@@ -0,0 +1 @@
Do you really want to remove the tracked invite links?

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.2.15</version>
<version>1.2.21</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.2.15</version>
<version>1.2.21</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.2.15</version>
<version>1.2.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>moderation</artifactId>
<version>1.2.15</version>
<version>1.2.21</version>
<build>
<plugins>
<plugin>

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