mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-01-08 10:30:58 +00:00
Compare commits
47 Commits
templates-
...
templates-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
772e63684b | ||
|
|
ea43c7b503 | ||
|
|
9908d69432 | ||
|
|
3c2dab9ade | ||
|
|
f7d357968a | ||
|
|
460fb45ca2 | ||
|
|
3682ca980e | ||
|
|
9d6074e25c | ||
|
|
9751e1d09c | ||
|
|
8632a4cf79 | ||
|
|
9db7d654d3 | ||
|
|
fc1818ee9b | ||
|
|
1667755310 | ||
|
|
04e6854ba5 | ||
|
|
e0fa208623 | ||
|
|
7e91083b3a | ||
|
|
d09fc1dd54 | ||
|
|
bf0aa3baad | ||
|
|
ab575257f9 | ||
|
|
57b64d80d0 | ||
|
|
029b34a65e | ||
|
|
d83310e029 | ||
|
|
acd69bf522 | ||
|
|
dde3ec778d | ||
|
|
ee2d1658be | ||
|
|
ea36bb5015 | ||
|
|
d343753bbe | ||
|
|
d2fa000624 | ||
|
|
1b0dcf5aff | ||
|
|
e9b15bf32d | ||
|
|
1ae65d2723 | ||
|
|
b8d7ed4139 | ||
|
|
4433d234be | ||
|
|
b2fb63bca9 | ||
|
|
0217e48278 | ||
|
|
77c515effc | ||
|
|
0767e3509a | ||
|
|
2e1f6e20b6 | ||
|
|
e9cff14c28 | ||
|
|
8662bc0be2 | ||
|
|
8252a1752d | ||
|
|
c6d6fb1c8f | ||
|
|
14bfbaae80 | ||
|
|
60d1c40153 | ||
|
|
39cf84b946 | ||
|
|
7aeea1d12e | ||
|
|
a0ba5092b1 |
35
abstracto-modules/anti-raid/pom.xml
Normal file
35
abstracto-modules/anti-raid/pom.xml
Normal 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.18</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>
|
||||
15
abstracto-modules/anti-raid/src/main/assembly/assembly.xml
Normal file
15
abstracto-modules/anti-raid/src/main/assembly/assembly.xml
Normal 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>
|
||||
@@ -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})"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.2.9</version>
|
||||
<version>1.2.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
<#assign minLevel=model.minLevel>
|
||||
<#include "assignable_role_condition_display_min_level_message">
|
||||
@@ -1,10 +1,17 @@
|
||||
{
|
||||
<#include "assignable_place_color">,
|
||||
"description": "<@safe_include "assignable_roles_config_embed_place_description"/>
|
||||
<@safe_include "assignable_roles_config_embed_role_header"/>:
|
||||
<#list roles as role><#assign role=role/><#assign rolePosition=role.position/><#assign emoteMention=role.emote.emoteRepr/><#assign roleMention><#if role.awardedRole?has_content>${role.awardedRole.asMention}<#else><#include "assignable_roles_config_embed_deleted_role"></#if></#assign><#assign roleDescription=role.description/>
|
||||
<@safe_include "assignable_roles_config_embed_emote_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"/>
|
||||
|
||||
</#list>
|
||||
<@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>
|
||||
<#assign roleMention=role.roleDisplay.roleMention/>
|
||||
<#assign roleDescription=role.description/>
|
||||
<#assign conditionText><#list role.conditions as condition><#assign model=condition.templateModel><@safe_include "${condition.templateName}"/><#sep>, <#else><#include "assignable_role_condition_no_conditions"></#list></#assign>
|
||||
<@safe_include "assignable_roles_config_embed_role_description"/>
|
||||
|
||||
<#else><@safe_include "assignable_role_config_embed_no_roles"/></#list>
|
||||
"
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
<#include "assignable_place_color">,
|
||||
"description": "<@safe_include "assignable_role_places_overview_description"/>:
|
||||
<#list places as place>`<#assign place=place/><#assign placeKey=place.key/><@safe_include "assignable_role_places_overview_place"/>`<#sep>, <#else> <@safe_include "assignable_role_places_overview_no_places"/></#list>
|
||||
<#list places as place>`<#assign place=place/><#assign placeKey=place.placeName/><@safe_include "assignable_role_places_overview_place"/>`<#sep>, <#else> <@safe_include "assignable_role_places_overview_no_places"/></#list>
|
||||
"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
<#assign minLevel=model.minLevel>
|
||||
<#assign roleMention=model.roleDisplay.roleMention>
|
||||
<#include "assignable_role_condition_min_level_message">
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
<#include "abstracto_color">,
|
||||
"metaConfig" : {
|
||||
"preventEmptyEmbed": "true",
|
||||
"ephemeral": true
|
||||
},
|
||||
<#assign model=templateModel/>
|
||||
"description": "<@safe_include "${templateName}"/>"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
<#assign roleMention=model.roleDisplay.roleMention>
|
||||
<#assign placeName=model.placeName>
|
||||
<#include "assignable_role_already_defined_exception_message"/>
|
||||
@@ -0,0 +1 @@
|
||||
<#include "assignable_role_booster_place_member_not_boosting_exception_message">
|
||||
@@ -0,0 +1 @@
|
||||
<#include "assignable_role_condition_already_present_exception_message">
|
||||
@@ -0,0 +1 @@
|
||||
<#include "assignable_role_condition_does_not_exist_exception_message">
|
||||
@@ -0,0 +1 @@
|
||||
<#include "assignable_role_condition_value_not_usable_exception_message">
|
||||
@@ -0,0 +1,2 @@
|
||||
<#assign roleId=model.roleId>
|
||||
<#include "assignable_role_not_found_exception_message">
|
||||
@@ -0,0 +1,2 @@
|
||||
<#assign roleMention=model.roleDisplay.roleMention>
|
||||
<#include "assignable_role_not_usable_exception_message">
|
||||
@@ -1 +1,2 @@
|
||||
<#assign userId=model.aUserInAServer.userReference.id/><#include "assignable_role_place_assigned_user_not_found_exception_text">
|
||||
<#assign userId=model.userId>
|
||||
<#include "assignable_role_place_assigned_user_not_found_exception_message">
|
||||
@@ -1 +1,3 @@
|
||||
<#assign channelId=model.channelId/><#include "assignable_role_place_channel_does_not_exist_exception_text">
|
||||
<#assign channelId=model.channelId>
|
||||
<#assign placeName=model.placeName>
|
||||
<#include "assignable_role_place_channel_does_not_exist_exception_message">
|
||||
@@ -1 +0,0 @@
|
||||
<#assign emoteMention=model.emote.emoteRepr/><#assign placeName=model.placeName/><#include "assignable_role_place_emote_already_defined_exception_text">
|
||||
@@ -1 +0,0 @@
|
||||
<#include "assignable_role_place_emote_not_assigned_exception_text">
|
||||
@@ -1 +1,2 @@
|
||||
<#assign roleName=model.name/><#include "assignable_role_place_exists_exception_text">
|
||||
<#assign placeName=model.name>
|
||||
<#include "assignable_role_place_exists_exception_message">
|
||||
@@ -1 +1 @@
|
||||
<#include "assignable_role_place_illegal_configuration_key_exception_text">
|
||||
<#include "assignable_role_place_illegal_configuration_key_exception_message">
|
||||
@@ -0,0 +1 @@
|
||||
<#include "assignable_role_place_maximum_roles_reached_exception_message">
|
||||
@@ -1 +1 @@
|
||||
<#include "assignable_role_place_not_found_exception_text">
|
||||
<#include "assignable_role_place_not_found_exception_message">
|
||||
@@ -1 +0,0 @@
|
||||
<#include "assignable_role_place_position_exists_exception_text">
|
||||
@@ -1 +0,0 @@
|
||||
<#assign messageId=model.messageId/><#include "assignable_role_place_post_not_found_exception_text">
|
||||
@@ -1 +0,0 @@
|
||||
<#assign roleMention=model.role.roleRepr/><#include "assignable_role_place_role_not_usable_exception_text">
|
||||
@@ -1 +0,0 @@
|
||||
<#assign emoteMention=model.emote.emoteRepr/><#assign placeName=model.placeName/><#include "emote_not_in_assignable_role_place_exception_text">
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
<#include "abstracto_color">,
|
||||
"metaConfig" : {
|
||||
"preventEmptyEmbed": "true",
|
||||
"ephemeral": true
|
||||
},
|
||||
<#assign roleText=role.asMention>
|
||||
<#if added>
|
||||
<#assign removedRolesText>${removedRoles?map(role -> role.asMention)?join(", ")}</#assign>
|
||||
"description": "<@safe_include "assignable_role_added_success"/>
|
||||
<#if removedRoles?size gt 0><@safe_include "assignable_role_added_roles_removed"/></#if>"
|
||||
<#else>
|
||||
"description": "<@safe_include "assignable_role_removed_success"/>"
|
||||
</#if>
|
||||
}
|
||||
@@ -1,17 +1,22 @@
|
||||
{
|
||||
<#include "assignable_place_color">,
|
||||
"description": "${place.text?json_string}",
|
||||
"fields": [
|
||||
<#list roles as role>
|
||||
{
|
||||
"name": "${role.emote.emoteRepr?json_string}",
|
||||
"value": "${role.description?json_string}",
|
||||
"inline": "${place.inline?string('true', 'false')}"
|
||||
<#if role.forceNewMessage>
|
||||
,"forceNewMessage": "true"
|
||||
</#if>
|
||||
}<#sep>,
|
||||
<#else>
|
||||
</#list>
|
||||
]
|
||||
"description": "${placeDescription?json_string}"
|
||||
<#if roles?size gt 0>
|
||||
,"buttons": [
|
||||
<#list roles as role>
|
||||
{
|
||||
"label": "${role.description?json_string}",
|
||||
"id": "${role.componentId}",
|
||||
"buttonStyle": "secondary",
|
||||
<#if role.emoteMarkDown??>
|
||||
"emoteMarkdown": "${role.emoteMarkDown?json_string}",
|
||||
</#if>
|
||||
"metaConfig": {
|
||||
"persistCallback": false
|
||||
}
|
||||
}
|
||||
<#sep>,
|
||||
</#list>
|
||||
]
|
||||
</#if>
|
||||
}
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.2.9</version>
|
||||
<version>1.2.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>core</artifactId>
|
||||
<version>1.2.9</version>
|
||||
<version>1.2.18</version>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<#macro user_detail user>${user.name?json_string}#${user.discriminator} (${user.idLong?c})</#macro>
|
||||
@@ -0,0 +1 @@
|
||||
<#include "entity_guild_mismatch_exception_text">
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
<#include "member_author">
|
||||
<@member_author member=member/>,
|
||||
<#include "exception_color">,
|
||||
"metaConfig" : {
|
||||
"preventEmptyEmbed": "true",
|
||||
"ephemeral": true
|
||||
},
|
||||
<#assign effectiveTemplate=template>
|
||||
<#if effectiveTemplate?has_content>
|
||||
<#if effectiveTemplate.templateModel?has_content>
|
||||
<#assign model=effectiveTemplate.templateModel/>
|
||||
"description": "<@safe_include "${effectiveTemplate.templateName}"/>"
|
||||
</#if>
|
||||
<#elseif throwable.localizedMessage?has_content>
|
||||
"description": "${throwable.localizedMessage?json_string}"
|
||||
<#else>
|
||||
"description": "${throwable.class.simpleName?json_string}"
|
||||
</#if>
|
||||
}
|
||||
@@ -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.9</version>
|
||||
<version>1.2.18</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.9</version>
|
||||
<version>1.2.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>experience-tracking</artifactId>
|
||||
<version>1.2.9</version>
|
||||
<version>1.2.18</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
{
|
||||
<#macro userDisplay user>
|
||||
[${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}
|
||||
[${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 "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"/>:
|
||||
|
||||
@@ -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"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.2.9</version>
|
||||
<version>1.2.18</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.9</version>
|
||||
<version>1.2.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<#include "link_embed_removal_not_allowed_exception_text">
|
||||
@@ -41,5 +41,17 @@
|
||||
}
|
||||
</#if>
|
||||
],
|
||||
<#if useButton>
|
||||
"buttons": [
|
||||
{
|
||||
"label": "<@safe_include "message_embed_button_delete"/>",
|
||||
"id": "${buttonConfigModel.buttonId}",
|
||||
"buttonStyle": "danger",
|
||||
"metaConfig": {
|
||||
"persistCallback": false
|
||||
}
|
||||
}
|
||||
],
|
||||
</#if>
|
||||
"timeStamp": "${embeddedMessage.timeCreated}"
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.2.9</version>
|
||||
<version>1.2.18</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.9</version>
|
||||
<version>1.2.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>moderation</artifactId>
|
||||
<version>1.2.9</version>
|
||||
<version>1.2.18</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"/>",
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
<#assign serverName=serverName>
|
||||
<#assign reason=reason>
|
||||
<#include "ban_notification_text">
|
||||
@@ -0,0 +1 @@
|
||||
<#include "ban_notification_not_possible_text">
|
||||
@@ -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>
|
||||
@@ -26,10 +26,12 @@
|
||||
"value": "<@safe_include "user_left_server"/> (${mute.mutingUser.userReference.id?c})"
|
||||
</#if>
|
||||
},
|
||||
<#if messageUrl??>
|
||||
{
|
||||
"name": "<@safe_include "mute_log_mute_location_field_title"/>",
|
||||
"value": "[Link](${messageUrl})"
|
||||
},
|
||||
</#if>
|
||||
{
|
||||
"name": "<@safe_include "unMute_log_muted_since_field_title"/>",
|
||||
"value": "${formatDate(mute.muteDate, "yyyy-MM-dd HH:mm:ss zz")}"
|
||||
|
||||
@@ -3,6 +3,5 @@
|
||||
<@member_author member=member/>,
|
||||
<#include "success_color">,
|
||||
<#assign userMention><@member_user_name member=member/></#assign>
|
||||
,"description" :"<@safe_include "myWarnings_with_decay_embed_description"/>"
|
||||
</#if>
|
||||
"description" :"<@safe_include "myWarnings_with_decay_embed_description"/>"
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
<#include "user_detail">
|
||||
<#include "full_member_info">
|
||||
"title": {
|
||||
"title": "<@safe_include "unBan_log_title"/>"
|
||||
},
|
||||
<#include "moderation_action_color">,
|
||||
"fields": [
|
||||
{
|
||||
"name": "<@safe_include "unBan_log_un_banned_user_field_title"/>",
|
||||
"value": "<@user_detail user=bannedUser/>"
|
||||
},
|
||||
{
|
||||
"name": "<@safe_include "unBan_log_un_banning_user_field_title"/>",
|
||||
"value": "<@full_member_info member=unBanningMember/>"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,11 +1,11 @@
|
||||
<#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.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 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>
|
||||
|
||||
<#include "warnings_warn_entry_text">
|
||||
<#if warning.warning.decayed>
|
||||
<#assign decayDate>${formatDate(warning.warning.decayDate, "yyyy-MM-dd HH:mm:ss zz")}</#assign>
|
||||
<#include "warnings_warn_is_decayed">
|
||||
<#include "warnings_warn_is_decayed">
|
||||
</#if>
|
||||
@@ -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" : "<@safe_include "userBanned_description"/>",
|
||||
"fields": [
|
||||
{
|
||||
"name": "<@safe_include "userBanned_field_title_banned_user"/>",
|
||||
"value": "<@user_detail user=bannedUser/>"
|
||||
}
|
||||
<#if banningUser??>
|
||||
,
|
||||
{
|
||||
"name": "<@safe_include "userBanned_field_title_banning_user"/>",
|
||||
"value": "<@user_detail user=banningUser/>"
|
||||
}
|
||||
</#if>
|
||||
<#if reason??>
|
||||
,
|
||||
{
|
||||
"name": "<@safe_include "userBanned_field_title_reason"/>",
|
||||
"value": "${reason}"
|
||||
}
|
||||
</#if>
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
<#include "user_detail">
|
||||
<#include "abstracto_color">,
|
||||
"description" : "<@safe_include "userUnBanned_description"/>",
|
||||
"fields": [
|
||||
{
|
||||
"name": "<@safe_include "userUnBanned_field_title_un_banned_user"/>",
|
||||
"value": "<@user_detail user=unBannedUser/>"
|
||||
}
|
||||
<#if unBanningUser??>
|
||||
,
|
||||
{
|
||||
"name": "<@safe_include "userUnBanned_field_title_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.9</version>
|
||||
<version>1.2.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>modmail</artifactId>
|
||||
<version>1.2.9</version>
|
||||
<version>1.2.18</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
<#assign messagesLogged=loggedMessages>
|
||||
<#assign messagesToLog=totalMessages>
|
||||
"additionalMessage": "<@safe_include "modmail_closing_progress_description"/>"
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
<#include "member_author">
|
||||
<@member_author member=targetMember/>,
|
||||
"description": "<@safe_include "modmail_thread_created_description"/>",
|
||||
<#include "modmail_color">,
|
||||
"fields": [
|
||||
{
|
||||
"name": "<@safe_include "modmail_thread_created_link_field_title"/>",
|
||||
"value": "${createdChannel.asMention}"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -4,6 +4,9 @@
|
||||
"title": {
|
||||
"title": "<@safe_include "modmail_notification_message_title"/>"
|
||||
},
|
||||
"metaConfig": {
|
||||
"allowsRoleMention": true
|
||||
},
|
||||
<#include "modmail_color">,
|
||||
<#assign user><@member_user_name member=member/>(${member.user.id})</#assign>
|
||||
"description": "<@safe_include "modmail_notification_message_description"/>",
|
||||
|
||||
@@ -14,6 +14,6 @@
|
||||
</#if>
|
||||
<#if subscribers?size gt 0>
|
||||
<#if postedMessage.contentRaw?has_content || postedMessage.attachments?size gt 0>,</#if>
|
||||
"additionalMessage": "<#list subscribers as subscriber>${subscriber.member.asMention?json_string}<#sep>,</#list>"
|
||||
"additionalMessage": "<#list subscribers as subscriber>${subscriber.asMention?json_string}<#sep>, </#list>"
|
||||
</#if>
|
||||
}
|
||||
@@ -1,11 +1,14 @@
|
||||
{
|
||||
<#include "user_detail">
|
||||
"title": {
|
||||
"title": "<@safe_include "modmail_closing_notification_title"/>"
|
||||
},
|
||||
<#include "modmail_color">,
|
||||
<#assign messageCount>${closedThread.messages?size}</#assign>
|
||||
<#assign user>user</#assign>
|
||||
<#assign startDate>${formatDate(closedThread.created,"yyyy-MM-dd HH:mm:ss zz")}</#assign>
|
||||
<#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 duration>${fmtDuration(duration)}</#assign>
|
||||
<#assign closedSilently=silently>
|
||||
"description": "<@safe_include "close_closing_description"/>"
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
<#include "member_author">
|
||||
<@member_author member=author/>,
|
||||
<#include "user_author">
|
||||
<@user_author user=author/>,
|
||||
<#include "modmail_color">
|
||||
<#if message.embeds[0].description?has_content>
|
||||
,"description": "${message.embeds[0].description?json_string}"
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates</groupId>
|
||||
<artifactId>templates</artifactId>
|
||||
<version>1.2.9</version>
|
||||
<version>1.2.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.2.9</version>
|
||||
<version>1.2.18</version>
|
||||
|
||||
<modules>
|
||||
<module>core</module>
|
||||
@@ -31,6 +31,8 @@
|
||||
<module>logging</module>
|
||||
<module>invite-filter</module>
|
||||
<module>profanity-filter</module>
|
||||
<module>voice-channel-context</module>
|
||||
<module>anti-raid</module>
|
||||
</modules>
|
||||
|
||||
</project>
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.2.9</version>
|
||||
<version>1.2.18</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.9</version>
|
||||
<version>1.2.18</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.9</version>
|
||||
<version>1.2.18</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.9</version>
|
||||
<version>1.2.18</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.9</version>
|
||||
<version>1.2.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>statistic</artifactId>
|
||||
<version>1.2.9</version>
|
||||
<version>1.2.18</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.2.9</version>
|
||||
<version>1.2.18</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.9</version>
|
||||
<version>1.2.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>utility</artifactId>
|
||||
<version>1.2.9</version>
|
||||
<version>1.2.18</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"
|
||||
}
|
||||
]
|
||||
|
||||
34
abstracto-modules/voice-channel-context/pom.xml
Normal file
34
abstracto-modules/voice-channel-context/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>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.2.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>voice-channel-context</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>voice-channel-context-${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 @@
|
||||
<#include "voice_channel_context_already_exists_exception_message">
|
||||
@@ -0,0 +1 @@
|
||||
<#include "voice_channel_context_not_exists_exception_message">
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.2.9</version>
|
||||
<version>1.2.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
4
pom.xml
4
pom.xml
@@ -5,7 +5,7 @@
|
||||
|
||||
<groupId>dev.sheldan.abstracto-templates</groupId>
|
||||
<artifactId>templates</artifactId>
|
||||
<version>1.2.9</version>
|
||||
<version>1.2.18</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.9</tag>
|
||||
<tag>templates-1.2.18</tag>
|
||||
</scm>
|
||||
|
||||
<repositories>
|
||||
|
||||
37
translations/anti-raid/pom.xml
Normal file
37
translations/anti-raid/pom.xml
Normal 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.18</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>
|
||||
15
translations/anti-raid/src/main/assembly/assembly.xml
Normal file
15
translations/anti-raid/src/main/assembly/assembly.xml
Normal 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>
|
||||
@@ -0,0 +1 @@
|
||||
Anti raid
|
||||
@@ -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}
|
||||
@@ -0,0 +1 @@
|
||||
The channel in which mass ping mutes should be logged to. Currently: ${currentTarget}
|
||||
@@ -0,0 +1 @@
|
||||
${memberMention} was muted for mentioning ${mentionCount} members.
|
||||
@@ -0,0 +1 @@
|
||||
Message content
|
||||
@@ -0,0 +1 @@
|
||||
Message link
|
||||
@@ -0,0 +1 @@
|
||||
Jump!
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>translations</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<version>1.2.9</version>
|
||||
<version>1.2.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
Activates an assignable place
|
||||
Activates an assignable role place
|
||||
@@ -1 +1 @@
|
||||
Activates an assignable role place again, meaning reacting to the reactions will assign the configured roles.
|
||||
Activates the buttons for an assignable role place again.
|
||||
@@ -0,0 +1 @@
|
||||
Adds a condition to an assignable role
|
||||
@@ -0,0 +1,3 @@
|
||||
Adds a condition to an assignable role of an assignable place.
|
||||
There is only one condition currently, which is `min_level`.
|
||||
This condition is evaluated when a user clicks the button and if the user does not fulfil the condition, an error message is shown.
|
||||
@@ -0,0 +1 @@
|
||||
The condition to add. Only supported value is `min_level`
|
||||
@@ -0,0 +1 @@
|
||||
The value which should be used for the condition. For `min_level`, this needs to be a number between 1 and 150.
|
||||
@@ -0,0 +1 @@
|
||||
The name of the assignable role place in which the assignable role is
|
||||
@@ -0,0 +1 @@
|
||||
The role to add a condition to
|
||||
@@ -1,2 +1,3 @@
|
||||
Adds an assignable role to the given assignable role place. This assignment requires an emote, a description and a role to be assigned. The mentioned role will be assigned once a member reacts to the emote.
|
||||
Only emotes from a server the bot is in can be used and it is not possible to assign an emote twice. The emote will be added at the _end_ of the assignable role place and if the posts already exists, the emote will be added already.
|
||||
Adds an assignable role to the given assignable role place.
|
||||
The display text is used as text for the button and the optional emote is used in front (Only emotes from a server the bot is in can be used)
|
||||
The mentioned role will be assigned once a member clicks on the button and will be added at the _end_ of the assignable role place (if the post exists already).
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user