[AB-240] moving invite filtering to separate module

adding templates for effects rework
changed display of optional parameters in help
This commit is contained in:
Sheldan
2021-05-10 20:57:09 +02:00
parent 3d7db690a5
commit 6b6f5bcb10
66 changed files with 150 additions and 21 deletions

View File

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

View File

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

View File

@@ -0,0 +1 @@
Allows one invite to be used within the server

View File

@@ -0,0 +1 @@
This command adds the given invite to the list of allowed invites on the server. If this command is executed - the message will immediately be deleted, but the configuration will be applied.

View File

@@ -0,0 +1 @@
The invite to allow - this can either be the full invite URL or just the part behind the slash.

View File

@@ -0,0 +1 @@
Removes one invite from the allowed invites

View File

@@ -0,0 +1 @@
Removes the given invite from the list of allowed invites to be used.

View File

@@ -0,0 +1 @@
The invite to be removed from the list of allowed invites - this can either be the full invite URL or just the part behind the slash.

View File

@@ -0,0 +1 @@
This command allows to remove the stored occurrences of individual or all filtered invites in this server.

View File

@@ -0,0 +1 @@
The invite from which the uses should be removed for - if not provided, all uses from all filtered invites of this server will be removed

View File

@@ -0,0 +1 @@
This command can be used to display the current top filtered invites - the ordering is based on how many times an individual invite has been removed. Per default 5 invite links are shown, but this can be changed via the parameter.

View File

@@ -0,0 +1 @@
Number to define how many filtered invites should be displayed

View File

@@ -0,0 +1 @@
Invites getting checked and maybe deleted

View File

@@ -0,0 +1 @@
The channel in which deleted invite links should be logged to. Currently: ${currentTarget}

View File

@@ -0,0 +1 @@
Utilities to moderate the server

View File

@@ -0,0 +1 @@
Invite link by ${authorMention} has been deleted.