initial commit with the current state of the templates split into separate modules with assembly

This commit is contained in:
Sheldan
2020-07-01 21:59:05 +02:00
commit 71f08e243e
694 changed files with 1562 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
<?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.translations</groupId>
<artifactId>translations</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>moderation</artifactId>
<version>1.0-SNAPSHOT</version>
<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>moderation-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 @@
User has been banned

View File

@@ -0,0 +1 @@
You were banned from the server ${serverName} for the following reason: ${warning.reason}.

View File

@@ -0,0 +1 @@
Bans the user with the given reason

View File

@@ -0,0 +1 @@
`ban @Member bad` in order to ban `Member` with the reason `bad` (the @Member is a user mention)

View File

@@ -0,0 +1 @@
Bans the user with the given reason.

View File

@@ -0,0 +1 @@
The reason which should be used for the ban.

View File

@@ -0,0 +1 @@
The member to ban from the server.

View File

@@ -0,0 +1 @@
ban <user> [reason]

View File

@@ -0,0 +1 @@
Bans the user with the given reason

View File

@@ -0,0 +1 @@
`banId 1234 bad` in order to ban the user with ID `1234` with the reason `bad`

View File

@@ -0,0 +1 @@
Bans the user by ID. This is necessary, if the user already left the server for example.

View File

@@ -0,0 +1 @@
The reason which should be used for the ban.

View File

@@ -0,0 +1 @@
The id of the user to ban.

View File

@@ -0,0 +1 @@
banId <userId> [reason]

View File

@@ -0,0 +1 @@
Decays all warnings which are currently active on this server, and logs them to the `decayLog` post target, if the parameter was true.

View File

@@ -0,0 +1 @@
"true"/"false" whether or not the decayed warnings should be logged.

View File

@@ -0,0 +1 @@
Decays the warnings in this server.

View File

@@ -0,0 +1 @@
Causes the warnings older than the configured threshold in days to be decayed. They are still stored but there is an indication, that they are now longer active.

View File

@@ -0,0 +1 @@
Deletes one specific warning by id completely.

View File

@@ -0,0 +1 @@
Kicks the user with the given reason

View File

@@ -0,0 +1 @@
`kick @Member bad` in order to kick `Member` with the reason `bad` (the @Member is a user mention)

View File

@@ -0,0 +1 @@
Kicks the user with the given reason.

View File

@@ -0,0 +1 @@
The reason why the user should be kicked for.

View File

@@ -0,0 +1 @@
The user which should be kicked.

View File

@@ -0,0 +1 @@
kick <user> [reason]

View File

@@ -0,0 +1 @@
User has been kicked

View File

@@ -0,0 +1 @@
You were kicked from the server ${serverName} for the following reason: ${warning.reason}.

View File

@@ -0,0 +1 @@
`mute @Member 1h2m3s bad` in order to mute the member `Member` for 1 hour 2 minutes and 3 seconds with the reason `bad` (the @Member is a user mention)

View File

@@ -0,0 +1,10 @@
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
`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.

View File

@@ -0,0 +1 @@
The duration of the mute with the duration parsing rules.

View File

@@ -0,0 +1 @@
The reason why the user should be muted.

View File

@@ -0,0 +1 @@
The user which should be muted.

View File

@@ -0,0 +1 @@
mute <user> <duration> <reason>

View File

@@ -0,0 +1 @@
User has been muted

View File

@@ -0,0 +1 @@
You were muted on the server ${serverName} for the following reason: ${mute.reason}.

View File

@@ -0,0 +1 @@
User has been unmuted

View File

@@ -0,0 +1 @@
Shows your warnings on this server.

View File

@@ -0,0 +1 @@
${userMention} has current ${currentWarnCount} Warnings and ${totalWarnCount} warnings in total.

View File

@@ -0,0 +1 @@
Deletes the last n messages in the channel

View File

@@ -0,0 +1,6 @@
Deletes the last n messages in the channel. The messages are allowed to be at most 2 weeks old.
If a member is provided as a parameter, only messages by this member are deleted, but at most n messages are considered.
For example, if you execute the command with 200 messages and specify member User#1234, and User#1234 does not have any messages
in the last 200 message, no message will be deleted.
While the command is going on a status message indicating how many messages are currently being deleted is shown.
If messages older than two weeks are found, the command will stop and post an error message.

View File

@@ -0,0 +1 @@
Amount of messages do delete.

View File

@@ -0,0 +1 @@
The member to delete messages of.

View File

@@ -0,0 +1 @@
purge <amount> [member]

View File

@@ -0,0 +1 @@
${currentlyDeleted} out of ${totalToDelete} messages deleted.

View File

@@ -0,0 +1 @@
Used to configure the mute role on this server.

View File

@@ -0,0 +1,2 @@
Sets the used mute role on the server. If there are previously roles assigned, this will be overwritten.
The configuration to make the role muting, needs to be done by you.

View File

@@ -0,0 +1 @@
The role which should be used to mute user.

View File

@@ -0,0 +1 @@
slowMode 1h2m3s #general` in order to set the slow mode in channel `general` to 1 hour 2 minutes and 3 seconds (the #general is a user mention)

View File

@@ -0,0 +1 @@
The channel for which the slow mode should be set. If not provided, the current channel is changed.

View File

@@ -0,0 +1 @@
The interval which should be the time between each allowed message in the channel. Use 'off', to disable slow mode.

View File

@@ -0,0 +1 @@
Sets the slow mode of the the current (or given channel) to the given duration.

View File

@@ -0,0 +1,8 @@
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.

View File

@@ -0,0 +1 @@
slowmode <duration> [channel]

View File

@@ -0,0 +1 @@
Un-mutes the user immediately.

View File

@@ -0,0 +1 @@
Un-mutes the user. This does not send a notification in the `mutes` post target. Also removes any mutes towards the user on this server.

View File

@@ -0,0 +1 @@
Shows all user notes/user notes from a user

View File

@@ -0,0 +1 @@
Lists all the user notes or only the user notes from a singular user from this server. The output contains the text of the note, the date it was created and the id of the user note.

View File

@@ -0,0 +1 @@
The user to retrieve the user notes for.

View File

@@ -0,0 +1 @@
User notes on this server

View File

@@ -0,0 +1 @@
${user} has note ${noteId} with text ${noteText} on ${date}

View File

@@ -0,0 +1 @@
Warns the user with the given reason

View File

@@ -0,0 +1 @@
`warn @Member bad` in order to warn `Member` with the reason `bad` (the @Member is a user mention)

View File

@@ -0,0 +1 @@
Warns the user with the given reason.

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