Compare commits

..

18 Commits

Author SHA1 Message Date
Sheldan
ffa93f8bc1 [maven-release-plugin] prepare release templates-1.2.9 2021-05-26 13:50:14 +02:00
Sheldan
9092e83680 [AB-270] adding template for experience gain channel group 2021-05-26 11:30:04 +02:00
Sheldan
f0a9d235c2 [AB-247] adding templates for levelRoles command
adding templates for experience role not found exception
fixing layout for help command detail response with validators
2021-05-26 00:55:04 +02:00
Sheldan
f9a83d7b20 [AB-251] improving leaderboard response embed and adapting rank help template 2021-05-25 00:21:53 +02:00
Sheldan
985a1cfc3f [AB-262] adding templates related to suggestion reminder 2021-05-24 17:39:30 +02:00
Sheldan
8e027fd881 [AB-265] fixing templates for exportEmoteStats help and incorrect feature mode exception template 2021-05-24 13:38:43 +02:00
Sheldan
9e34917549 [maven-release-plugin] prepare for next development iteration 2021-05-23 23:23:34 +02:00
Sheldan
3c6d3ad803 [maven-release-plugin] prepare release templates-1.2.8 2021-05-23 23:23:26 +02:00
Sheldan
a4fa1a32bd [AB-xxx] fixing small issues with emote tracking templates 2021-05-23 22:56:15 +02:00
AnonymousWP
08c96ecf46 Added missing format for weeks (#1)
Adding core template 'duration_format_help'
2021-05-20 19:04:40 +02:00
Sheldan
d7dd4cd39a [AB-84] adding templates for profanity filter 2021-05-16 23:46:32 +02:00
Sheldan
a9267822dc [AB-258] adding templates for urban dictionary exception 2021-05-12 15:39:37 +02:00
Sheldan
4d2294f0b4 [maven-release-plugin] prepare for next development iteration 2021-05-12 00:47:10 +02:00
Sheldan
24138cf72e [maven-release-plugin] prepare release templates-1.2.7 2021-05-12 00:47:01 +02:00
Sheldan
d71871a924 [AB-256] adding timezone to various places 2021-05-12 00:44:04 +02:00
Sheldan
6b6f5bcb10 [AB-240] moving invite filtering to separate module
adding templates for effects rework
changed display of optional parameters in help
2021-05-10 20:57:09 +02:00
Sheldan
3d7db690a5 [AB-253] adding templates for unsuggest 2021-05-04 13:20:53 +02:00
Sheldan
0400637847 [maven-release-plugin] prepare for next development iteration 2021-05-02 23:11:42 +02:00
175 changed files with 456 additions and 127 deletions

View File

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

View File

@@ -46,21 +46,21 @@
</#if>
<#if restricted?? && restricted>
<@safe_include "help_command_embed_command_executable_by"/>:<#if allowedRoles??> <#list allowedRoles as allowedRole> ${allowedRole.asMention?json_string}<#sep><@safe_include "help_command_embed_or"/><#else><@safe_include "help_command_embed_command_executable_by_nobody"/></#list> </#if>
<#if immuneRoles?? ><@safe_include "help_command_embed_command_immune"/>: <#list immuneRoles as immuneRole> ${immuneRole.asMention?json_string}<#sep><@safe_include "help_command_embed_or"/><#else><@safe_include "help_command_embed_command_immune_none"/></#list> </#if>
<#else>
<@safe_include "help_command_embed_command_not_restricted"/>
</#if>
<#if effects??><@safe_include "help_command_embed_command_effects"/>: <#list effects as effect> <@safe_include "effect_type_${effect}"/><#sep>,<#else><@safe_include "help_command_embed_command_effects_none"/></#list> </#if>
</#if>
**<@safe_include "help_command_embed_command_parameters"/>**:
<#if command.parameters??>
<#list command.parameters as parameter><#assign parameter=parameter>
<@safe_include "help_command_embed_command_description"/> `${parameter.name?json_string}`: <#if parameter.templated?? && parameter.templated><@safe_include "${command.name}_parameter_${parameter.name}"/><#else>${(parameter.description?json_string)!""}</#if>
<@safe_include "help_command_embed_command_description"/> `${parameter.name?json_string}`: <#if parameter.templated?? && parameter.templated><@safe_include "${command.name}_parameter_${parameter.name}"/><#else>${(parameter.description?json_string)!""}</#if> <@safe_include "help_command_embed_command_optional"/>
<#list parameter.validators as validator><#assign validator=validator><#assign model=validator.templateModel/><@safe_include "${validator.templateName}"/>
</#list>
<@safe_include "help_command_embed_command_optional"/><#sep>
<#sep>
<#else>
<@safe_include "help_command_embed_command_no_parameters"/>
</#list>

View File

@@ -0,0 +1,8 @@
{
<#include "abstracto_color">,
"description": "
<#list effects as effect>
`${effect}` <@safe_include "effect_type_${effect}_description"/>
</#list>
"
}

View File

@@ -1,2 +1,3 @@
<#assign roleName>${model.role.name}</#assign>
<#assign effect><#include "effect_type_${model.effectTypeKey}"></#assign>
<#include "immune_role_exception_text">

View File

@@ -1,3 +1,3 @@
<#assign featureName=model.featureEnum.key/>
<#assign featureName=model.featureDefinition.key/>
<#assign featureModes><#list model.requiredModes as mode>${mode.key}<#sep>,</#list></#assign>
<#include "incorrect_feature_mode_exception_text">

View File

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

View File

@@ -1,3 +1,3 @@
<#assign featureName=model.featureEnum.key/>
<#assign featureName=model.featureDefinition.key/>
<#assign featureModes><#list model.requiredModes as mode>${mode.key}<#sep>,</#list></#assign>
<#include "incorrect_feature_mode_exception_text">

View File

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

View File

@@ -1,15 +1,19 @@
{
<#macro userDisplay user>
${user.rank} <#if user.member?has_content><@member_user_name member=user.member/> <#else>${user.experience.user.userReference.id?c}</#if> ${user.experience.experience} ${user.experience.currentLevel.level} ${user.experience.messageCount}
[${user.rank}] -> <#if user.member?has_content>**<@member_user_name member=user.member/>**<#else>${user.experience.user.userReference.id?c}</#if>
<@safe_include "leaderboard_experience_column"/>: ${user.experience.experience} | <@safe_include "leaderboard_level_column"/>: ${user.experience.currentLevel.level} | <@safe_include "leaderboard_messages_column"/>: ${user.experience.messageCount}
</#macro>
<#include "member_author">
<@member_author member=member/>,
<#include "success_color">,
"description": "
<@safe_include "leaderboard_rank_column"/> | <@safe_include "leaderboard_name_column"/> | <@safe_include "leaderboard_experience_column"/> | <@safe_include "leaderboard_level_column"/> | <@safe_include "leaderboard_messages_column"/>
<#list userExperiences as user>
<@userDisplay user=user />
</#list>
<@safe_include "leaderboard_own_placement"/>:
<@userDisplay user=userExecuting />
"
",
"footer": {
"text": "<@safe_include "leaderboard_footer"/>"
}
}

View File

@@ -0,0 +1,5 @@
{
<#include "success_color">,
"description": "<#list levelRoles as role><#if role.role??><#assign roleRepr=role.role.asMention><#else><#assign roleRepr=role.roleId?c></#if><#assign levelRepr=role.level><@safe_include "levelRoles_response_description"/><#sep>
<#else><@safe_include "levelRoles_no_roles_found"/></#list>"
}

View File

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

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.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>invite-filter</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>invite-filter-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

@@ -4,7 +4,7 @@
},
<#include "success_color">,
"description": "<#list inviteLinks as link><#assign link=link/>
<#assign linkText>${link.code}</#assign>
<#assign linkText>${link.serverName}</#assign>
<#assign linkUses>${link.uses}</#assign>
<@safe_include "tracked_invite_links_link_display"/><#else><@safe_include "tracked_invite_links_no_links"/>
</#list>"

View File

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

View File

@@ -21,7 +21,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")}</#assign>
<#assign date>${formatDate(note.note.created, "yyyy-MM-dd HH:mm:ss zz")}</#assign>
<@safe_include "user_notes_note_entry"/><#else><@safe_include "user_notes_no_notes"/>
</#list>"
}

View File

@@ -29,7 +29,7 @@
},
{
"name": "<@safe_include "mute_log_muted_until_field_title"/>",
"value": "${formatDate(muteTargetDate, "yyyy-MM-dd HH:mm:ss")}"
"value": "${formatDate(muteTargetDate, "yyyy-MM-dd HH:mm:ss zz")}"
}
],
"footer": {

View File

@@ -32,7 +32,7 @@
},
{
"name": "<@safe_include "unMute_log_muted_since_field_title"/>",
"value": "${formatDate(mute.muteDate, "yyyy-MM-dd HH:mm:ss")}"
"value": "${formatDate(mute.muteDate, "yyyy-MM-dd HH:mm:ss zz")}"
},
{
"name": "<@safe_include "mute_log_mute_duration_field_title"/>",

View File

@@ -2,10 +2,10 @@
<#assign reason>${warning.warning.reason}</#assign>
<#assign warnedUserText><#if warning.warnedUser.member??>${warning.warnedUser.member.asMention}(${warning.warnedUser.member.user.id})<#else>${warning.warnedUser.aUserInAServer.id?c}</#if></#assign>
<#assign warningUserText><#if warning.warningUser.member??>${warning.warningUser.member.asMention}(${warning.warningUser.member.user.id})<#else>${warning.warningUser.aUserInAServer.id?c}</#if></#assign>
<#assign warnDate>${formatDate(warning.warning.warnDate, "yyyy-MM-dd HH:mm:ss")}</#assign>
<#assign warnDate>${formatDate(warning.warning.warnDate, "yyyy-MM-dd HH:mm:ss zz")}</#assign>
<#include "warnings_warn_entry_text">
<#if warning.warning.decayed>
<#assign decayDate>${formatDate(warning.warning.decayDate, "yyyy-MM-dd HH:mm:ss")}</#assign>
<#assign decayDate>${formatDate(warning.warning.decayDate, "yyyy-MM-dd HH:mm:ss zz")}</#assign>
<#include "warnings_warn_is_decayed">
</#if>

View File

@@ -4,7 +4,7 @@
},
<#include "moderation_action_color">,
"description": "<#list warnings as warning><#assign warning=warning/>
<#if warning.warnedMember??><#assign warnedUser>${warning.warnedMember.asMention?json_string} (${warning.warnedMember.id?c})</#assign><#else><#assign warnedUser> ${warning.warnedUser.userId?c}</#assign></#if> <#if warning.warningMember??><#assign warningUser> ${warning.warningMember.asMention?json_string} (${warning.warningMember.id})</#assign><#else><#assign warningUser>${warning.warningUser.warningUser.userId?c}</#assign></#if> <#assign warnDate>${formatDate(warning.warning.warnDate, "yyyy-MM-dd HH:mm:ss")}</#assign><#assign warnReason=warning.warning.reason/> <@safe_include "warnDecay_log_warn_entry"/>
<#if warning.warnedMember??><#assign warnedUser>${warning.warnedMember.asMention?json_string} (${warning.warnedMember.id?c})</#assign><#else><#assign warnedUser> ${warning.warnedUser.userId?c}</#assign></#if> <#if warning.warningMember??><#assign warningUser> ${warning.warningMember.asMention?json_string} (${warning.warningMember.id})</#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"/>
<#else>
<@safe_include "warnDecay_log_no_warnings"/>
</#list>"

View File

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

View File

@@ -5,7 +5,7 @@
<#include "modmail_color">,
<#assign messageCount>${closedThread.messages?size}</#assign>
<#assign user>user</#assign>
<#assign startDate>${formatDate(closedThread.created,"yyyy-MM-dd HH:mm:ss")}</#assign>
<#assign startDate>${formatDate(closedThread.created,"yyyy-MM-dd HH:mm:ss zz")}</#assign>
<#assign duration>${fmtDuration(duration)}</#assign>
"description": "<@safe_include "close_closing_description"/>"
}

View File

@@ -4,14 +4,14 @@
<parent>
<groupId>dev.sheldan.abstracto-templates</groupId>
<artifactId>templates</artifactId>
<version>1.2.6</version>
<version>1.2.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.2.6</version>
<version>1.2.9</version>
<modules>
<module>core</module>
@@ -29,6 +29,8 @@
<module>suggestion</module>
<module>webservices</module>
<module>logging</module>
<module>invite-filter</module>
<module>profanity-filter</module>
</modules>
</project>

View File

@@ -0,0 +1,34 @@
<?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>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.2.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>profanity-filter</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>profanity-filter-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,32 @@
{
<#include "full_member_info">
<#include "abstracto_color">,
<#include "member_author">
<@member_author member=member/>,
"fields": [
{
"name": "<@safe_include "profanities_response_embed_true_profanities_field_title"/>",
"value": "${truePositives?c}",
"inline": "true"
},
{
"name": "<@safe_include "profanities_response_embed_false_profanities_field_title"/>",
"value": "${falsePositives?c}",
"inline": "true"
}<#if recentPositiveReports?size gt 0>
,
{
"name": "",
"value": "",
"inline": "true"
},
<#list recentPositiveReports as report><#assign report=report>
{
<#assign reportIndex>${report?index + 1}</#assign>
"name": "<@safe_include "profanities_response_embed_true_profanities_report_field_value"/>",
"value": "[<@safe_include "profanities_response_embed_true_profanities_link_field_title"/>](${report.jumpUrl})",
"inline": "true"
}<#sep>,</#list>
</#if>
]
}

View File

@@ -0,0 +1,27 @@
{
<#include "full_member_info">
<#include "abstracto_color">,
"description": "<@safe_include "profanityListener_report_embed_description"/>",
"fields": [
{
"name": "<@safe_include "profanityListener_report_embed_member_field_title"/>",
"value": "<@full_member_info member=profaneMessage.member/>",
"inline": "true"
},
{
"name": "<@safe_include "profanityListener_report_embed_message_link_field_title"/>",
"value": "[${profaneMessage.channel.name?json_string}](${profaneMessage.jumpUrl?json_string})",
"inline": "true"
},
{
"name": "<@safe_include "profanityListener_report_embed_profanity_type_field_title"/>",
"value": "${profanityGroupKey}",
"inline": "true"
},
{
"name": "<@safe_include "profanityListener_report_embed_message_content_field_title"/>",
"value": "${profaneMessage.contentRaw}",
"inline": "true"
}
]
}

View File

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

View File

@@ -12,7 +12,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")}</#assign>
<#assign reminderTargetDate>${formatDate(reminderDisplay.reminder.targetDate,"yyyy-MM-dd HH:mm:ss zz")}</#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.6</version>
<version>1.2.9</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.6</version>
<version>1.2.9</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.6</version>
<version>1.2.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>statistic</artifactId>
<version>1.2.6</version>
<version>1.2.9</version>
<build>
<plugins>
<plugin>

View File

@@ -3,5 +3,5 @@
"title": "<@safe_include "deletedEmoteStats_animated_emotes_title"/>"
},
<#include "statistic_color">,
"description": "<#list animatedEmotes as emote>`${emote.trackedEmote.emoteName}:${emote.trackedEmote.trackedEmoteId.emoteId?c}`x${emote.result.amount}<#sep>, </#list>"
"description": "<#list animatedEmotes as emote>`${emote.trackedEmote.emoteName}:${emote.trackedEmote.trackedEmoteId.id?c}`x${emote.result.amount?c}<#sep>, </#list>"
}

View File

@@ -3,5 +3,5 @@
"title": "<@safe_include "deletedEmoteStats_static_emotes_title"/>"
},
<#include "statistic_color">,
"description": "<#list staticEmotes as emote>`${emote.trackedEmote.emoteName}:${emote.trackedEmote.trackedEmoteId.emoteId?c}`x${emote.result.amount}<#sep>, </#list>"
"description": "<#list staticEmotes as emote>`${emote.trackedEmote.emoteName}:${emote.trackedEmote.trackedEmoteId.id?c}`x${emote.result.amount?c}<#sep>, </#list>"
}

View File

@@ -3,5 +3,5 @@
"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}<#sep> </#if></#list>"
"description": "<#list animatedEmotes as emote><#if emote.emote?has_content>${emote.emote.asMention}x${emote.result.amount?c}<#sep> </#if></#list>"
}

View File

@@ -3,5 +3,5 @@
"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}<#sep> </#if></#list>"
"description": "<#list staticEmotes as emote><#if emote.emote?has_content>${emote.emote.asMention}x${emote.result.amount?c}<#sep> </#if></#list>"
}

View File

@@ -3,5 +3,5 @@
"title": "<@safe_include "externalEmoteStats_animated_emotes_title"/>"
},
<#include "statistic_color">,
"description": "<#list animatedEmotes as emote>`${emote.trackedEmote.emoteName}:${emote.trackedEmote.trackedEmoteId.emoteId?c}`x${emote.result.amount}<#sep>, </#list>"
"description": "<#list animatedEmotes as emote>`${emote.trackedEmote.emoteName}:${emote.trackedEmote.trackedEmoteId.id?c}`x${emote.result.amount?c}<#sep>, </#list>"
}

View File

@@ -3,5 +3,5 @@
"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}<#sep>, </#list>"
"description": "<#list staticEmotes as emote>`${emote.trackedEmote.emoteName}:${emote.trackedEmote.trackedEmoteId.id?c}`x${emote.result.amount?c}<#sep>, </#list>"
}

View File

@@ -10,7 +10,7 @@
},
{
"name": "<@safe_include "showExternalTrackedEmote_response_embed_emote_id_field_title"/>",
"value": "${trackedEmoteId.emoteId?c}"
"value": "${trackedEmoteId.id?c}"
},
{
"name": "<@safe_include "showExternalTrackedEmote_response_embed_link_field_title"/>",

View File

@@ -3,5 +3,5 @@
"title": "<@safe_include "showTrackedEmotes_animated_tracked_emotes_title"/>"
},
<#include "statistic_color">,
"description": "<#list animatedEmotes as emote><#if emote.emote?has_content>${emote.emote.asMention}<#if !emote.trackedEmote.trackingEnabled>(<#include "showTrackedEmotes_emote_tracking_disabled">)</#if><#sep>, </#if></#list>"
"description": "<#list animatedEmotes as emote><#if emote.emote?has_content>${emote.emote.asMention}<#if !emote.trackedEmote.trackingEnabled>(<#include "showTrackedEmotes_emote_tracking_disabled">)</#if><#sep> </#if></#list>"
}

View File

@@ -3,5 +3,5 @@
"title": "<@safe_include "showTrackedEmotes_deleted_animated_tracked_emotes_title"/>"
},
<#include "statistic_color">,
"description": "<#list deletedAnimatedEmotes as emote>`${emote.emoteName}:${emote.trackedEmoteId.emoteId?c}`<#if !emote.trackingEnabled>(<#include "showTrackedEmotes_emote_tracking_disabled">)</#if><#sep>, </#list>"
"description": "<#list deletedAnimatedEmotes as emote>`${emote.emoteName}:${emote.trackedEmoteId.id?c}`<#if !emote.trackingEnabled>(<#include "showTrackedEmotes_emote_tracking_disabled">)</#if><#sep> </#list>"
}

View File

@@ -3,5 +3,5 @@
"title": "<@safe_include "showTrackedEmotes_deleted_static_tracked_emotes_title"/>"
},
<#include "statistic_color">,
"description": "<#list deletedStaticEmotes as emote>`${emote.emoteName}:${emote.trackedEmoteId.emoteId?c}`<#if !emote.trackingEnabled>(<#include "showTrackedEmotes_emote_tracking_disabled">)</#if><#sep>, </#list>"
"description": "<#list deletedStaticEmotes as emote>`${emote.emoteName}:${emote.trackedEmoteId.id?c}`<#if !emote.trackingEnabled>(<#include "showTrackedEmotes_emote_tracking_disabled">)</#if><#sep> </#list>"
}

View File

@@ -3,5 +3,5 @@
"title": "<@safe_include "showTrackedEmotes_external_animated_tracked_emotes_title"/>"
},
<#include "statistic_color">,
"description": "<#list externalAnimatedEmotes as emote>`${emote.emoteName}:${emote.trackedEmoteId.emoteId?c}`<#if !emote.trackingEnabled>(<#include "showTrackedEmotes_emote_tracking_disabled">)</#if><#sep>, </#list>"
"description": "<#list externalAnimatedEmotes as emote>`${emote.emoteName}:${emote.trackedEmoteId.id?c}`<#if !emote.trackingEnabled>(<#include "showTrackedEmotes_emote_tracking_disabled">)</#if><#sep> </#list>"
}

View File

@@ -3,5 +3,5 @@
"title": "<@safe_include "showTrackedEmotes_external_static_tracked_emotes_title"/>"
},
<#include "statistic_color">,
"description": "<#list externalStaticEmotes as emote>`${emote.emoteName}:${emote.trackedEmoteId.emoteId?c}`<#if !emote.trackingEnabled>(<#include "showTrackedEmotes_emote_tracking_disabled">)</#if><#sep>, </#list>"
"description": "<#list externalStaticEmotes as emote>`${emote.emoteName}:${emote.trackedEmoteId.id?c}`<#if !emote.trackingEnabled>(<#include "showTrackedEmotes_emote_tracking_disabled">)</#if><#sep> </#list>"
}

View File

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

View File

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

View File

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

View File

@@ -23,12 +23,12 @@
},
{
"name": "<@safe_include "userInfo_response_embed_joined_field_title"/>",
"value": "${formatDate(memberInfo.timeJoined, "yyyy-MM-dd HH:mm:ss")}",
"value": "${formatDate(memberInfo.timeJoined, "yyyy-MM-dd HH:mm:ss zz")}",
"inline": "true"
},
{
"name": "<@safe_include "userInfo_response_embed_registered_field_title"/>",
"value": "${formatDate(memberInfo.timeCreated, "yyyy-MM-dd HH:mm:ss")}",
"value": "${formatDate(memberInfo.timeCreated, "yyyy-MM-dd HH:mm:ss zz")}",
"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.6</version>
<version>1.2.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -0,0 +1,2 @@
<#assign httpCode=model.responseCode>
<#include "urban_dictionary_request_exception_text">

View File

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

View File

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

View File

@@ -1 +1 @@
Optional: ${parameter.optional?string('yes', 'no')}
${parameter.optional?string('(Optional)', '')}

View File

@@ -1 +1 @@
Makes a role affected by certain commands/features
Makes a role affected by effects

View File

@@ -1 +1 @@
`makeAffected ban @Staff` in order so the role `Staff` can be banned via the command (where @Staff is a role mention)
`makeAffected ban @Staff` in order so the role `Staff` can be banned (where @Staff is a role mention)

View File

@@ -1,5 +1,5 @@
Makes the given role affected by certain commands like `ban`, `warn` or `mute`.
When a feature name is used, all commands of this feature will be changed.
Not all commands actually support this functionality.
This is done by 'effects', an effect is something which can be applied to members, and all the available effects can be
shown via the command `showEffects`.
By default all roles are affected by the commands.
The provided role can either be a role ID or a the mention of the role.

View File

@@ -1 +0,0 @@
The command/feature name to make the role affected by.

View File

@@ -0,0 +1 @@
The effect to make the role affected by

View File

@@ -1 +1 @@
Makes a role immune against certain commands/complete features
Makes a role immune against certain effects

View File

@@ -1 +1 @@
`makeImmune ban @Staff` in order so the role `Staff` cannot be banned via the command (where @Staff is a role mention)
`makeImmune ban @Staff` in order so the role `Staff` cannot be banned (where @Staff is a role mention)

View File

@@ -1,5 +1,5 @@
Makes the given role immune to certain commands like `ban`, `warn` or `mute`.
When a feature name is used, all commands of this feature will be changed.
Not all commands actually support this functionality.
This is done by 'effects', an effect is something which can be applied to members, and all the available effects can be
shown via the command `showEffects`.
By default all roles are affected by the commands.
The provided role can either be a role ID or a the mention of the role.

View File

@@ -1 +0,0 @@
The command/feature name to make the role immune for.

View File

@@ -0,0 +1 @@
The effect to make the role immune against.

View File

@@ -0,0 +1 @@
Shows the currently possible effects

View File

@@ -0,0 +1 @@
Shows the keys of the currently available effects while also showing a short description thereof

View File

@@ -1 +1 @@
The targeted user is immune against this command, because of the role: ${roleName}.
The targeted user is immune against `${effect}`, because of the role: ${roleName}.

View File

@@ -0,0 +1,9 @@
The syntax for duration is the following:
s - seconds
m - minutes
h - hours
d - days
w - weeks
They must be positive and may not contain spaces in between. Syntaxes can be mixed as well. For example, `1h23m` is one hour and twenty three minutes.

View File

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

View File

@@ -0,0 +1 @@
Use leaderboard <page> to view more of the leaderboard

View File

@@ -0,0 +1 @@
Shows the role level configuration for this server

View File

@@ -0,0 +1 @@
Shows the current configuration at which level which role is awarded

View File

@@ -1 +1 @@
Shows you your current experience information.
Shows yours or others experience in this server

View File

@@ -1 +1,2 @@
Shows your messages, tracked experience, current level and the experience needed to the next level.
Shows your messages, tracked experience, current level and the experience needed to the next level.
If provided with a member as parameter, shows that values for the member.

View File

@@ -0,0 +1 @@
The member to retrieve the rank for

View File

@@ -1,2 +1,2 @@
This causes the given role to be awarded at the given level. This will remove previously levels this role was assigned to, and also recalculate the users of the previous levels.
This will not, however, award the users the new role immediately. This needs to be done by a separate `syncExpRole`.
This causes the given role to be awarded at the given level. This will remove previous levels this role was assigned to, and also remove any role which is currently assigned to the given level.
This will not, however, award the users the new role immediately. This needs to be done by a separate `syncExpRoles`.

View File

@@ -0,0 +1 @@
Role is not part of the experience system.

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>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.2.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>invite-filter</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>invite-filter-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>

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