mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-01-05 00:53:48 +00:00
Compare commits
17 Commits
templates-
...
templates-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3c2dab9ade | ||
|
|
f7d357968a | ||
|
|
460fb45ca2 | ||
|
|
3682ca980e | ||
|
|
9d6074e25c | ||
|
|
9751e1d09c | ||
|
|
8632a4cf79 | ||
|
|
9db7d654d3 | ||
|
|
fc1818ee9b | ||
|
|
1667755310 | ||
|
|
04e6854ba5 | ||
|
|
e0fa208623 | ||
|
|
7e91083b3a | ||
|
|
d09fc1dd54 | ||
|
|
bf0aa3baad | ||
|
|
ab575257f9 | ||
|
|
57b64d80d0 |
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.17</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.14</version>
|
||||
<version>1.2.17</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_boosted_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.14</version>
|
||||
<version>1.2.17</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>core</artifactId>
|
||||
<version>1.2.14</version>
|
||||
<version>1.2.17</version>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.2.14</version>
|
||||
<version>1.2.17</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.14</version>
|
||||
<version>1.2.17</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>experience-tracking</artifactId>
|
||||
<version>1.2.14</version>
|
||||
<version>1.2.17</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.2.14</version>
|
||||
<version>1.2.17</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.14</version>
|
||||
<version>1.2.17</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.14</version>
|
||||
<version>1.2.17</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.14</version>
|
||||
<version>1.2.17</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>moderation</artifactId>
|
||||
<version>1.2.14</version>
|
||||
<version>1.2.17</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.2.14</version>
|
||||
<version>1.2.17</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>modmail</artifactId>
|
||||
<version>1.2.14</version>
|
||||
<version>1.2.17</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates</groupId>
|
||||
<artifactId>templates</artifactId>
|
||||
<version>1.2.14</version>
|
||||
<version>1.2.17</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.2.14</version>
|
||||
<version>1.2.17</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.14</version>
|
||||
<version>1.2.17</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.14</version>
|
||||
<version>1.2.17</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.14</version>
|
||||
<version>1.2.17</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.14</version>
|
||||
<version>1.2.17</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.14</version>
|
||||
<version>1.2.17</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>statistic</artifactId>
|
||||
<version>1.2.14</version>
|
||||
<version>1.2.17</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.2.14</version>
|
||||
<version>1.2.17</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.14</version>
|
||||
<version>1.2.17</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>utility</artifactId>
|
||||
<version>1.2.14</version>
|
||||
<version>1.2.17</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
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.17</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.14</version>
|
||||
<version>1.2.17</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.14</version>
|
||||
<version>1.2.17</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.14</tag>
|
||||
<tag>templates-1.2.17</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.17</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.14</version>
|
||||
<version>1.2.17</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).
|
||||
|
||||
@@ -1 +1 @@
|
||||
The emote to be used for reactions. This emote can be a default emote or an emote in a server the bot is in.
|
||||
The emote to be used for the button. This can be a default emoji or an emote of a server the bot is in.
|
||||
@@ -1 +1 @@
|
||||
The role to assign the member reacting.
|
||||
The role to assign the member clicking.
|
||||
@@ -1,6 +1,3 @@
|
||||
Command to change the configuration of one assignable role place.
|
||||
The possible things to change are:
|
||||
`inline`: Whether or not the assignable role descriptions are shown inline. Inline means they will be as close together as possible, if this is set to false, they will be shown in a colum
|
||||
`autoRemove`: Whether or not the added reactions are immediately remove after the selected role has been assigned.
|
||||
`unique`: Whether or not it is only possible to select one role at a time.
|
||||
`active`: Whether or not the assignable role place is active. An inactive assignable role place, does not assign any roles and removes the reactions automatically.
|
||||
`unique`: Whether or not it is only possible to select one role at a time.
|
||||
@@ -1 +1 @@
|
||||
The configuration which should be changed, can either be `inline`, `autoRemove`, `active` or `unique`. This key is not case sensitive.
|
||||
The configuration which should be changed, can only be `unique`. This key is not case sensitive.
|
||||
@@ -1,2 +1,3 @@
|
||||
Creates an assignable role place with the given name used as key to identify it. The provided description will be displayed when it is posted.
|
||||
This does not create any messages, only creates the instance in the database and can be removed with `deleteAssignableRolePlace`.
|
||||
This does not create any messages, only creates the instance in the database and can be removed with `deleteAssignableRolePlace`.
|
||||
A `booster` assignable role place only allows boosting members to receive roles and automatically removes the roles if the member stops boosting.
|
||||
@@ -0,0 +1 @@
|
||||
Defines the type of this assignable role place. Possible values `default` and `booster`.
|
||||
@@ -1 +1 @@
|
||||
Activates an assignable role place again, meaning reacting to the reactions will not assign the configured roles and will automatically remove any added reactions.
|
||||
Deactivates the buttons of an assignable role place again.
|
||||
@@ -1 +1 @@
|
||||
This changes the text which describes the assignable role place and is shown in the the first message of the place.
|
||||
This changes the text which describes the assignable role place and is shown in the message of the place.
|
||||
@@ -1,2 +1 @@
|
||||
Moves the assignable role place to another channel.
|
||||
This change only comes into effect the next time the assignable role place is setup the next time.
|
||||
Moves the assignable role place to another channel and is execute immediately if the assignable role place is already setup.
|
||||
@@ -0,0 +1 @@
|
||||
Removes an assignable role condition
|
||||
@@ -0,0 +1 @@
|
||||
This command is used to remove an assignable role condition. The only available condition is `min_level` currently.
|
||||
@@ -0,0 +1 @@
|
||||
The condition to remove. Only supported value is `min_level`
|
||||
@@ -0,0 +1 @@
|
||||
The name of the assignable role place in which the assignable role is
|
||||
@@ -0,0 +1 @@
|
||||
The role to remove a condition from
|
||||
@@ -1 +1 @@
|
||||
Removes an assignable role from an assignable place. The place is identified by its key and the role is identified by the emote used to react to the post.
|
||||
Removes an assignable role from an assignable place. The place is identified by its key and the role is identified by its ID/mention.
|
||||
@@ -1 +0,0 @@
|
||||
The emote which to identify the assignable role to remove
|
||||
@@ -0,0 +1 @@
|
||||
The role to remove from the assignable role. Can either be only the ID or a role mention.
|
||||
@@ -1 +0,0 @@
|
||||
Sets the position of an emote within an assignable place
|
||||
@@ -1,3 +0,0 @@
|
||||
Sets the position of an assignable role within an assignable place.
|
||||
It is not possible to set it beyond the currently largest position and also not possible to set it to a position already taken by another assignable role.
|
||||
This change will ony be in effect when the assignable role place is setup the next time.
|
||||
@@ -1 +0,0 @@
|
||||
The emote which identifies the assignable role to change the position of
|
||||
@@ -1 +0,0 @@
|
||||
The name of the assignable place to change the position of an assignable role in
|
||||
@@ -1 +0,0 @@
|
||||
The new position of the assignable role
|
||||
@@ -1 +1 @@
|
||||
Creates the messages containing the assignable roles in the description and the emotes as reactions
|
||||
Creates the message containing the assignable roles in the description and the buttons (if any).
|
||||
@@ -1,2 +1 @@
|
||||
Deletes the old assignable role posts (if any) and creates the assignable role posts completely anew in the channel where the assignable post is configured in.
|
||||
This effectively means that old reactions are lost, but the assigned roles still persist.
|
||||
Deletes the old assignable role post (if any) and creates the assignable role post completely anew in the channel where the assignable post is configured in.
|
||||
@@ -1 +0,0 @@
|
||||
#${rolePosition}: ${emoteMention} with ${roleMention}: `${roleDescription}`.
|
||||
@@ -1,2 +0,0 @@
|
||||
Configuration for assignable roles for assignable role place `${place.key}`, shown with text: ${place.text}, which is currently ${place.active?string('active', 'not active')}. The fields are shown ${place.inline?string('inline', 'not inline')}.
|
||||
If a role has been assigned, the added reaction will ${place.autoRemove?string('be removed', 'not be removed')} and it is ${place.uniqueRoles?string('not possible', 'possible')} to have multiple roles at once.
|
||||
@@ -1,2 +0,0 @@
|
||||
Shows all of the possible configurations of the given assignable role place.
|
||||
This includes: the assignable roles (emote, description and awarded role), whether or not the emotes are displayed inline or directly on top of one another, whether or not the assignable role place is active
|
||||
@@ -0,0 +1 @@
|
||||
Minimum level: ${minLevel}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user