mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-01-02 15:56:33 +00:00
Compare commits
21 Commits
templates-
...
templates-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8662bc0be2 | ||
|
|
8252a1752d | ||
|
|
c6d6fb1c8f | ||
|
|
14bfbaae80 | ||
|
|
60d1c40153 | ||
|
|
39cf84b946 | ||
|
|
7aeea1d12e | ||
|
|
a0ba5092b1 | ||
|
|
ffa93f8bc1 | ||
|
|
9092e83680 | ||
|
|
f0a9d235c2 | ||
|
|
f9a83d7b20 | ||
|
|
985a1cfc3f | ||
|
|
8e027fd881 | ||
|
|
9e34917549 | ||
|
|
3c6d3ad803 | ||
|
|
a4fa1a32bd | ||
|
|
08c96ecf46 | ||
|
|
d7dd4cd39a | ||
|
|
a9267822dc | ||
|
|
4d2294f0b4 |
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>core</artifactId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</version>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<#macro user_detail user>${user.name?json_string}#${user.discriminator} (${user.idLong?c})</#macro>
|
||||
@@ -57,7 +57,9 @@
|
||||
<#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_optional"/>
|
||||
<#list parameter.validators as validator><#assign validator=validator><#assign model=validator.templateModel/><@safe_include "${validator.templateName}"/></#list>
|
||||
<#list parameter.validators as validator><#assign validator=validator><#assign model=validator.templateModel/><@safe_include "${validator.templateName}"/>
|
||||
|
||||
</#list>
|
||||
<#sep>
|
||||
<#else>
|
||||
<@safe_include "help_command_embed_command_no_parameters"/>
|
||||
|
||||
@@ -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">
|
||||
@@ -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">
|
||||
@@ -0,0 +1 @@
|
||||
<#include "no_user_found_exception_text">
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>experience-tracking</artifactId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -1,15 +1,20 @@
|
||||
{
|
||||
<#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.userId?c}</#if>
|
||||
<@safe_include "leaderboard_experience_column"/>: ${user.experience} | <@safe_include "leaderboard_level_column"/>: ${user.level} | <@safe_include "leaderboard_messages_column"/>: ${user.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"/>"
|
||||
}
|
||||
}
|
||||
@@ -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>"
|
||||
}
|
||||
@@ -5,17 +5,17 @@
|
||||
"fields": [
|
||||
{
|
||||
"name": "<@safe_include "rank_xp_field_title"/>",
|
||||
"value": "${rankUser.experience.experience}",
|
||||
"value": "${rankUser.experience}",
|
||||
"inline": "true"
|
||||
},
|
||||
{
|
||||
"name": "<@safe_include "rank_level_field_title"/>",
|
||||
"value": "${rankUser.experience.currentLevel.level}",
|
||||
"value": "${rankUser.level}",
|
||||
"inline": "true"
|
||||
},
|
||||
{
|
||||
"name": "<@safe_include "rank_messages_field_title"/>",
|
||||
"value": "${rankUser.experience.messageCount}",
|
||||
"value": "${rankUser.messageCount}",
|
||||
"inline": "true"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<#include "experience_role_not_found_exception_text">
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>moderation</artifactId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{
|
||||
<#include "user_detail">
|
||||
<#include "full_member_info">
|
||||
<#include "member_author">
|
||||
<@member_author member=bannedUser/>,
|
||||
"title": {
|
||||
"title": "<@safe_include "ban_log_title"/>"
|
||||
},
|
||||
@@ -9,15 +8,15 @@
|
||||
"fields": [
|
||||
{
|
||||
"name": "<@safe_include "ban_log_banned_user_field_title"/>",
|
||||
"value": "<@full_member_info member=bannedUser/>"
|
||||
"value": "<@user_detail user=bannedUser/>"
|
||||
},
|
||||
{
|
||||
"name": "<@safe_include "ban_log_banning_user_field_title"/>",
|
||||
"value": "<@full_member_info member=banningUser/>"
|
||||
"value": "<@full_member_info member=banningMember/>"
|
||||
},
|
||||
{
|
||||
"name": "<@safe_include "ban_log_jump_link_field_title"/>",
|
||||
"value": "[${messageChannel.name?json_string}](${message.jumpUrl})"
|
||||
"value": "[${commandMessage.channel.name?json_string}](${commandMessage.jumpUrl})"
|
||||
},
|
||||
{
|
||||
"name": "<@safe_include "ban_log_reason_field_title"/>",
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
{
|
||||
<#include "full_member_info">
|
||||
"title": {
|
||||
"title": "<@safe_include "ban_log_title"/>"
|
||||
},
|
||||
<#include "moderation_action_color">,
|
||||
"fields": [
|
||||
{
|
||||
"name": "<@safe_include "ban_log_banned_user_field_title"/>",
|
||||
"value": "${bannedUserId?c}"
|
||||
},
|
||||
{
|
||||
"name": "<@safe_include "ban_log_banning_user_field_title"/>",
|
||||
"value": "<@full_member_info member=banningUser/>"
|
||||
},
|
||||
{
|
||||
"name": "<@safe_include "ban_log_jump_link_field_title"/>",
|
||||
"value": "[${messageChannel.name?json_string}](${message.jumpUrl})"
|
||||
},
|
||||
{
|
||||
"name": "<@safe_include "ban_log_reason_field_title"/>",
|
||||
"value": "${reason?json_string}"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -12,7 +12,7 @@
|
||||
{
|
||||
"name": "<@safe_include "unMute_log_unmuted_user_field_title"/>",
|
||||
<#if unMutedUser?has_content>
|
||||
"value": "<@full_member_info member=mutingUser/>"
|
||||
"value": "<@full_member_info member=unMutedUser/>"
|
||||
<#else>
|
||||
"value": "<@safe_include "user_left_server"/> (${mute.mutedUser.userReference.id?c})"
|
||||
</#if>
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
<#include "user_detail">
|
||||
<#include "full_member_info">
|
||||
"title": {
|
||||
"title": "<@safe_include "ban_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/>"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
<#include "abstracto_color">,
|
||||
<#assign messageLink=reportedMessage.messageUrl>
|
||||
"description" : "<@safe_include "reactionReport_notification_embed_description"/>",
|
||||
"fields": [
|
||||
{
|
||||
"name": "<@safe_include "reactionReport_notification_embed_report_counter_field_title"/>",
|
||||
"value": "${reportCount}"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
<#include "user_detail">
|
||||
<#include "abstracto_color">,
|
||||
"description" : "User was banned.",
|
||||
"fields": [
|
||||
{
|
||||
"name": "Banned user",
|
||||
"value": ""<@user_detail user=bannedUser/>"
|
||||
}
|
||||
<#if banningUser??>
|
||||
,
|
||||
{
|
||||
"name": "Banning user",
|
||||
"value": "<@user_detail user=banningUser/>"
|
||||
}
|
||||
</#if>
|
||||
<#if reason??>
|
||||
,
|
||||
{
|
||||
"name": "reason",
|
||||
"value": "${reason}"
|
||||
}
|
||||
</#if>
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
<#include "user_detail">
|
||||
<#include "abstracto_color">,
|
||||
"description" : "User was un-banned.",
|
||||
"fields": [
|
||||
{
|
||||
"name": "Un-Banned user",
|
||||
"value": "<@user_detail user=unBannedUser/>"
|
||||
}
|
||||
<#if unBanningUser??>
|
||||
,
|
||||
{
|
||||
"name": "Un-banning user",
|
||||
"value": "<@user_detail user=unBanningUser/>"
|
||||
}
|
||||
</#if>
|
||||
]
|
||||
}
|
||||
@@ -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 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>${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>"
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
<#assign reason=warnReason>
|
||||
<#assign warningDate>${formatDate(warnDate, "yyyy-MM-dd HH:mm:ss zz")}</#assign>
|
||||
<#assign remainingWarningsCount=remainingWarningsCount>
|
||||
"additionalMessage": "<@safe_include "warnDecay_member_notification_text"/>"
|
||||
}
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>modmail</artifactId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates</groupId>
|
||||
<artifactId>templates</artifactId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</version>
|
||||
|
||||
<modules>
|
||||
<module>core</module>
|
||||
@@ -30,6 +30,7 @@
|
||||
<module>webservices</module>
|
||||
<module>logging</module>
|
||||
<module>invite-filter</module>
|
||||
<module>profanity-filter</module>
|
||||
</modules>
|
||||
|
||||
</project>
|
||||
34
abstracto-modules/profanity-filter/pom.xml
Normal file
34
abstracto-modules/profanity-filter/pom.xml
Normal 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.11</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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>statistic</artifactId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -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>"
|
||||
}
|
||||
@@ -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>"
|
||||
}
|
||||
@@ -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>"
|
||||
}
|
||||
@@ -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>"
|
||||
}
|
||||
@@ -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>"
|
||||
}
|
||||
@@ -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>"
|
||||
}
|
||||
@@ -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"/>",
|
||||
|
||||
@@ -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>"
|
||||
}
|
||||
@@ -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>"
|
||||
}
|
||||
@@ -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>"
|
||||
}
|
||||
@@ -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>"
|
||||
}
|
||||
@@ -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>"
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -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"/>"
|
||||
}
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>utility</artifactId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -29,6 +29,16 @@
|
||||
"value": "${guild.timeCreated}",
|
||||
"inline": "true"
|
||||
},
|
||||
{
|
||||
"name": "<@safe_include "serverinfo_embed_text_channel_count_field_title"/>",
|
||||
"value": "${guild.textChannels?size}",
|
||||
"inline": "true"
|
||||
},
|
||||
{
|
||||
"name": "<@safe_include "serverinfo_embed_voice_channel_count_field_title"/>",
|
||||
"value": "${guild.voiceChannels?size}",
|
||||
"inline": "true"
|
||||
},
|
||||
{
|
||||
"name": "<@safe_include "serverinfo_embed_emote_count_title"/>",
|
||||
"value": "${guild.emotes?size}",
|
||||
@@ -41,7 +51,7 @@
|
||||
},
|
||||
{
|
||||
"name": "<@safe_include "serverinfo_embed_features_field_title"/>",
|
||||
"value": "<#list guild.features as feature>${feature}<#else><@safe_include "serverinfo_embed_features_no_features"/></#list>",
|
||||
"value": "<#list guild.features as feature>${feature}<#sep>, <#else><@safe_include "serverinfo_embed_features_no_features"/></#list>",
|
||||
"inline": "true"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
<#assign httpCode=model.responseCode>
|
||||
<#include "urban_dictionary_request_exception_text">
|
||||
4
pom.xml
4
pom.xml
@@ -5,7 +5,7 @@
|
||||
|
||||
<groupId>dev.sheldan.abstracto-templates</groupId>
|
||||
<artifactId>templates</artifactId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</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.7</tag>
|
||||
<tag>templates-1.2.11</tag>
|
||||
</scm>
|
||||
|
||||
<repositories>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>translations</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<artifactId>translations</artifactId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>core</artifactId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
No user found.
|
||||
@@ -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.
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>translations</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<artifactId>translations</artifactId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>experience-tracking</artifactId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
The member to enable experience gain for
|
||||
@@ -1 +0,0 @@
|
||||
The user to enable experience gain for.
|
||||
@@ -1 +1 @@
|
||||
Experience
|
||||
Exp
|
||||
@@ -0,0 +1 @@
|
||||
Use leaderboard <page> to view more of the leaderboard
|
||||
@@ -0,0 +1 @@
|
||||
Your placement
|
||||
@@ -0,0 +1 @@
|
||||
Shows the role level configuration for this server
|
||||
@@ -0,0 +1 @@
|
||||
Shows the current configuration at which level which role is awarded
|
||||
@@ -0,0 +1 @@
|
||||
No roles found.
|
||||
@@ -0,0 +1 @@
|
||||
Level ${levelRepr} - ${roleRepr}
|
||||
@@ -1 +1 @@
|
||||
Shows you your current experience information.
|
||||
Shows yours or others experience in this server
|
||||
@@ -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.
|
||||
@@ -0,0 +1 @@
|
||||
The member to retrieve the rank for
|
||||
@@ -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`.
|
||||
@@ -0,0 +1 @@
|
||||
Experience gain
|
||||
@@ -0,0 +1 @@
|
||||
Role is not part of the experience system.
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>translations</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>translations</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>translations</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<artifactId>translations</artifactId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>moderation</artifactId>
|
||||
<version>1.2.7</version>
|
||||
<version>1.2.11</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -1 +1 @@
|
||||
Banned user
|
||||
Unbanned user
|
||||
@@ -1 +0,0 @@
|
||||
Bans the user with the given reason
|
||||
@@ -1 +0,0 @@
|
||||
`banId 1234 bad` in order to ban the user with ID `1234` with the reason `bad`
|
||||
@@ -1 +0,0 @@
|
||||
Bans the user by ID. This is necessary, if the user already left the server for example.
|
||||
@@ -1 +0,0 @@
|
||||
The reason which should be used for the ban.
|
||||
@@ -1 +0,0 @@
|
||||
The id of the user to ban.
|
||||
@@ -1,10 +1,5 @@
|
||||
Applies the muted role to the user and logs the mute in the `mutes` post target.
|
||||
The user will be automatically un muted after the time period is over and another un mute notification will be send to the
|
||||
The user will be automatically un-muted after the time period is over and another un-mute notification will be send to the
|
||||
`mutes` post target.
|
||||
The syntax for duration is the following:
|
||||
s - seconds
|
||||
m - minutes
|
||||
h - hours
|
||||
d - days
|
||||
|
||||
They must be positive and do no spaces between for example `1h23m` is one hour and twenty three minutes.
|
||||
<#include "duration_format_help">
|
||||
@@ -0,0 +1 @@
|
||||
default reason
|
||||
@@ -1,8 +1,3 @@
|
||||
Sets the slow mode of the the current (or given channel) to the given interval.
|
||||
The syntax for interval is the following:
|
||||
s - seconds
|
||||
m - minutes
|
||||
h - hours
|
||||
d - days
|
||||
|
||||
They must be positive and do no spaces between for example `1h23m` is one hour and twenty three minutes.
|
||||
<#include "duration_format_help">
|
||||
@@ -0,0 +1 @@
|
||||
Un-bans users via ID
|
||||
@@ -0,0 +1,2 @@
|
||||
This command can be used to un-ban users via ID. If they are not banned currently, an error message is displayed.
|
||||
The un-ban is logged.
|
||||
@@ -0,0 +1 @@
|
||||
The ID of the user to unban.
|
||||
@@ -0,0 +1 @@
|
||||
User has been unbanned
|
||||
@@ -0,0 +1 @@
|
||||
Unbanned user
|
||||
@@ -0,0 +1 @@
|
||||
Un banning user
|
||||
@@ -0,0 +1 @@
|
||||
Report reactions
|
||||
@@ -0,0 +1 @@
|
||||
The amount of seconds a report will not be re-created, but the report count incremented. Default: ${defaultValue}
|
||||
@@ -1 +1 @@
|
||||
The channel in which where bans should be logged to. Currently: ${currentTarget}
|
||||
The channel to which bans should be logged to. Currently: ${currentTarget}
|
||||
@@ -1 +1 @@
|
||||
The channel in which decayed warnings should be logged to. Currently: ${currentTarget}
|
||||
The channel to which decayed warnings should be logged to. Currently: ${currentTarget}
|
||||
@@ -1 +1 @@
|
||||
The channel in which kicks should be logged to. Currently: ${currentTarget}
|
||||
The channel to which kicks should be logged to. Currently: ${currentTarget}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user