mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-04-14 03:46:00 +00:00
initial commit with the current state of the templates split into separate modules with assembly
This commit is contained in:
39
translations/moderation/pom.xml
Normal file
39
translations/moderation/pom.xml
Normal 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>
|
||||
15
translations/moderation/src/main/assembly/assembly.xml
Normal file
15
translations/moderation/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 @@
|
||||
default reason
|
||||
@@ -0,0 +1 @@
|
||||
Banned user
|
||||
@@ -0,0 +1 @@
|
||||
Banned by
|
||||
@@ -0,0 +1 @@
|
||||
Link
|
||||
@@ -0,0 +1 @@
|
||||
Reason
|
||||
@@ -0,0 +1 @@
|
||||
User has been banned
|
||||
@@ -0,0 +1 @@
|
||||
You were banned from the server ${serverName} for the following reason: ${warning.reason}.
|
||||
@@ -0,0 +1 @@
|
||||
Bans the user with the given reason
|
||||
@@ -0,0 +1 @@
|
||||
`ban @Member bad` in order to ban `Member` with the reason `bad` (the @Member is a user mention)
|
||||
@@ -0,0 +1 @@
|
||||
Bans the user with the given reason.
|
||||
@@ -0,0 +1 @@
|
||||
The reason which should be used for the ban.
|
||||
@@ -0,0 +1 @@
|
||||
The member to ban from the server.
|
||||
@@ -0,0 +1 @@
|
||||
ban <user> [reason]
|
||||
@@ -0,0 +1 @@
|
||||
Bans the user with the given reason
|
||||
@@ -0,0 +1 @@
|
||||
`banId 1234 bad` in order to ban the user with ID `1234` with the reason `bad`
|
||||
@@ -0,0 +1 @@
|
||||
Bans the user by ID. This is necessary, if the user already left the server for example.
|
||||
@@ -0,0 +1 @@
|
||||
The reason which should be used for the ban.
|
||||
@@ -0,0 +1 @@
|
||||
The id of the user to ban.
|
||||
@@ -0,0 +1 @@
|
||||
banId <userId> [reason]
|
||||
@@ -0,0 +1 @@
|
||||
Decays all currently active warnings
|
||||
@@ -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.
|
||||
@@ -0,0 +1 @@
|
||||
"true"/"false" whether or not the decayed warnings should be logged.
|
||||
@@ -0,0 +1 @@
|
||||
decayAllWarnings [true/false]
|
||||
@@ -0,0 +1 @@
|
||||
Decays the warnings in this server.
|
||||
@@ -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.
|
||||
@@ -0,0 +1 @@
|
||||
decayWarnings
|
||||
@@ -0,0 +1 @@
|
||||
Deletes one specific warning
|
||||
@@ -0,0 +1 @@
|
||||
Deletes one specific warning by id completely.
|
||||
@@ -0,0 +1 @@
|
||||
The ID of the warning to delete.
|
||||
@@ -0,0 +1 @@
|
||||
deleteWarning <warnId>
|
||||
@@ -0,0 +1 @@
|
||||
Kicks the user with the given reason
|
||||
@@ -0,0 +1 @@
|
||||
`kick @Member bad` in order to kick `Member` with the reason `bad` (the @Member is a user mention)
|
||||
@@ -0,0 +1 @@
|
||||
Kicks the user with the given reason.
|
||||
@@ -0,0 +1 @@
|
||||
The reason why the user should be kicked for.
|
||||
@@ -0,0 +1 @@
|
||||
The user which should be kicked.
|
||||
@@ -0,0 +1 @@
|
||||
kick <user> [reason]
|
||||
@@ -0,0 +1 @@
|
||||
default reason
|
||||
@@ -0,0 +1 @@
|
||||
Jump
|
||||
@@ -0,0 +1 @@
|
||||
Kicked user
|
||||
@@ -0,0 +1 @@
|
||||
Kicking user
|
||||
@@ -0,0 +1 @@
|
||||
Reason
|
||||
@@ -0,0 +1 @@
|
||||
User has been kicked
|
||||
@@ -0,0 +1 @@
|
||||
You were kicked from the server ${serverName} for the following reason: ${warning.reason}.
|
||||
@@ -0,0 +1 @@
|
||||
Mutes a user
|
||||
@@ -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)
|
||||
@@ -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.
|
||||
@@ -0,0 +1 @@
|
||||
The duration of the mute with the duration parsing rules.
|
||||
@@ -0,0 +1 @@
|
||||
The reason why the user should be muted.
|
||||
@@ -0,0 +1 @@
|
||||
The user which should be muted.
|
||||
@@ -0,0 +1 @@
|
||||
mute <user> <duration> <reason>
|
||||
@@ -0,0 +1 @@
|
||||
Muted for
|
||||
@@ -0,0 +1 @@
|
||||
Mute
|
||||
@@ -0,0 +1 @@
|
||||
Mute location
|
||||
@@ -0,0 +1 @@
|
||||
Reason
|
||||
@@ -0,0 +1 @@
|
||||
Muted until
|
||||
@@ -0,0 +1 @@
|
||||
Muted user
|
||||
@@ -0,0 +1 @@
|
||||
Muted by
|
||||
@@ -0,0 +1 @@
|
||||
User has been muted
|
||||
@@ -0,0 +1 @@
|
||||
You were muted on the server ${serverName} for the following reason: ${mute.reason}.
|
||||
@@ -0,0 +1 @@
|
||||
Muted since
|
||||
@@ -0,0 +1 @@
|
||||
User has been unmuted
|
||||
@@ -0,0 +1 @@
|
||||
Un-Muted user
|
||||
@@ -0,0 +1 @@
|
||||
Shows your warnings.
|
||||
@@ -0,0 +1 @@
|
||||
Shows your warnings on this server.
|
||||
@@ -0,0 +1 @@
|
||||
myWarnings
|
||||
@@ -0,0 +1 @@
|
||||
${userMention} has current ${currentWarnCount} Warnings and ${totalWarnCount} warnings in total.
|
||||
@@ -0,0 +1 @@
|
||||
Deletes the last n messages in the channel
|
||||
@@ -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.
|
||||
@@ -0,0 +1 @@
|
||||
Amount of messages do delete.
|
||||
@@ -0,0 +1 @@
|
||||
The member to delete messages of.
|
||||
@@ -0,0 +1 @@
|
||||
purge <amount> [member]
|
||||
@@ -0,0 +1 @@
|
||||
${currentlyDeleted} out of ${totalToDelete} messages deleted.
|
||||
@@ -0,0 +1 @@
|
||||
Used to configure the mute role on this server.
|
||||
@@ -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.
|
||||
@@ -0,0 +1 @@
|
||||
The role which should be used to mute user.
|
||||
@@ -0,0 +1 @@
|
||||
setMuteRole <roleId>
|
||||
@@ -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)
|
||||
@@ -0,0 +1 @@
|
||||
The channel for which the slow mode should be set. If not provided, the current channel is changed.
|
||||
@@ -0,0 +1 @@
|
||||
The interval which should be the time between each allowed message in the channel. Use 'off', to disable slow mode.
|
||||
@@ -0,0 +1 @@
|
||||
Sets the slow mode of the the current (or given channel) to the given duration.
|
||||
@@ -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.
|
||||
@@ -0,0 +1 @@
|
||||
slowmode <duration> [channel]
|
||||
@@ -0,0 +1 @@
|
||||
Un-mutes the user immediately.
|
||||
@@ -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.
|
||||
@@ -0,0 +1 @@
|
||||
The member to un-mute.
|
||||
@@ -0,0 +1 @@
|
||||
unMute <user>
|
||||
@@ -0,0 +1 @@
|
||||
User has no active mute.
|
||||
@@ -0,0 +1 @@
|
||||
Shows all user notes/user notes from a user
|
||||
@@ -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.
|
||||
@@ -0,0 +1 @@
|
||||
The user to retrieve the user notes for.
|
||||
@@ -0,0 +1 @@
|
||||
listNotes [user]
|
||||
@@ -0,0 +1 @@
|
||||
User notes on this server
|
||||
@@ -0,0 +1 @@
|
||||
User notes for user ${user}
|
||||
@@ -0,0 +1 @@
|
||||
No notes.
|
||||
@@ -0,0 +1 @@
|
||||
${user} has note ${noteId} with text ${noteText} on ${date}
|
||||
@@ -0,0 +1 @@
|
||||
Warns the user with the given reason
|
||||
@@ -0,0 +1 @@
|
||||
`warn @Member bad` in order to warn `Member` with the reason `bad` (the @Member is a user mention)
|
||||
@@ -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
Reference in New Issue
Block a user