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>modmail</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>modmail-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 @@
This message was sent anonymous.

View File

@@ -0,0 +1 @@
Mod mail thread has been closed

View File

@@ -0,0 +1 @@
Mod mail thread has been closed. If you have any questions please do not hesitate to contact us again.

View File

@@ -0,0 +1 @@
Sends the given message to the user anonymously.

View File

@@ -0,0 +1,3 @@
Replies to the mod mail thread without showing who authored the text. Instead the bot will be used as an author.
If the mod mail message is logged, the correct author is shown in the embed, with a small note saying that the message was send anonymously.
Only pictures as attachments are supported. In order to use attachments, this command must be used when the text accompanying the attachment is chosen.

View File

@@ -0,0 +1 @@
A mod mail thread has been closed with the note '${note}'. There were ${messageCount} interactions with the user ${user}. It has been opened on ${startDate} and lasted ${duration}.

View File

@@ -0,0 +1 @@
Failed to delete text channel containing mod mail thread. The bot does not have permissions to do so.

View File

@@ -0,0 +1 @@
Closes the mod mail thread and notifies the user.

View File

@@ -0,0 +1 @@
Closes the mod mail thread, which means: logging the messages to mod mail log (if `modmail_logging` is enabled), deleting the channel the thread was in and notifying the use that the thread was closed.

View File

@@ -0,0 +1 @@
The note with which this mod mail thread is being closed.

View File

@@ -0,0 +1 @@
Closes the mod mail thread, does *not* notify the user and does *not* log the thread.

View File

@@ -0,0 +1 @@
Closes the mod mail thread, which means deleting the channel the thread was in. This command does not notify the user nor does it log the content of the thread.

View File

@@ -0,0 +1 @@
Closes the mod mail thread and does not notify the user.

View File

@@ -0,0 +1 @@
Closes the mod mail thread, which means: logging the messages to mod mail log (if `modmail_logging` is enabled) and deleting the channel the thread was in.

View File

@@ -0,0 +1 @@
The note with which this mod mail thread is being closed.

View File

@@ -0,0 +1 @@
Opens a mod mail thread with the given user.

View File

@@ -0,0 +1 @@
Opens a new mod mail thread with the user, and posts a message containing a link to the thread if one is already open.

View File

@@ -0,0 +1 @@
The use to open a mod mail thread for.

View File

@@ -0,0 +1 @@
Removes the role from the roles being notified when a new thread is created by an user.

View File

@@ -0,0 +1,2 @@
Removes this role from the roles being notified when a new thread is opened by a user.
This also automatically removes them from the allowed roles of all commands in the mod mail feature.

View File

@@ -0,0 +1 @@
The role to not be notified about new threads anymore.

View File

@@ -0,0 +1 @@
Sends the given message to the user.

View File

@@ -0,0 +1 @@
Sends the given text to the user in an embed containing you as the author of the message. Only pictures as attachments are supported.

View File

@@ -0,0 +1 @@
The text to reply with.

View File

@@ -0,0 +1 @@
Sets the category under which the mod mail threads should be created.

View File

@@ -0,0 +1 @@
Sets the category under which *new* mod mail threads are being created. Does not change the position of the old ones.

View File

@@ -0,0 +1 @@
The category id to be used for creating mod mail text channels.

View File

@@ -0,0 +1 @@
Adds the role to the roles being notified when a new thread is created by an user.

View File

@@ -0,0 +1,2 @@
Adds this role to the roles being notified when a new thread is opened by a user.
This also automatically adds them to the allowed roles of all commands in the mod mail feature.

View File

@@ -0,0 +1 @@
The role to be notified by new mod mail threads.

View File

@@ -0,0 +1 @@
Subscribes to the current mod mail thread.

View File

@@ -0,0 +1 @@
Subscribes to the current mod mail thread and pings you whenever there is a new message from the user until you un-subscribe.

View File

@@ -0,0 +1 @@
Un-subscribes from the current mod mail thread.

View File

@@ -0,0 +1 @@
Causes you to not be pinged in case the user sends another message to this mod mail thread.

View File

@@ -0,0 +1 @@
Commands to be used for mod mail.

View File

@@ -0,0 +1 @@
Mod mail logging

View File

@@ -0,0 +1 @@
The text to close mod mail threads with. Default: `${defaultValue}`

View File

@@ -0,0 +1 @@
Mod mail threads will be created in category `${category}`.

View File

@@ -0,0 +1 @@
The ID of the category you want to create the mod mail threads in. Currently the used category is: ${categoryName}

View File

@@ -0,0 +1 @@
The channel towards which the closed mod mail threads should be logged to. (In the appropriate mode) Currently: ${currentTarget}

View File

@@ -0,0 +1 @@
The channel which should be used to notify the responsible people about new mod mail threads. Currently: ${currentTarget}

View File

@@ -0,0 +1 @@
You are already subscribed to this mod mail thread.

View File

@@ -0,0 +1 @@
Cannot find mod mail thread with id ${id}.

View File

@@ -0,0 +1 @@
Failed to create mod mail thread.

View File

@@ -0,0 +1 @@
Failed to forward message. Existing mod mail thread has been deleted. Send another message to start a new one.

View File

@@ -0,0 +1 @@
Generic mod mail failure. Check the logs.

View File

@@ -0,0 +1 @@
No server for mod mail available.

View File

@@ -0,0 +1 @@
Not in a mod mail thread.

View File

@@ -0,0 +1 @@
You are not subscribed to this mod mail thread.

View File

@@ -0,0 +1 @@
Post target `modmailLog` was not found.

View File

@@ -0,0 +1 @@
The provided category ID is not valid.

View File

@@ -0,0 +1 @@
Mod mail category is not correctly set up. `${categoryId}` is not valid.

View File

@@ -0,0 +1,2 @@
For which server do you want to open a modmail?
The available servers are:

View File

@@ -0,0 +1 @@
A new mod mail thread has been opened.

View File

@@ -0,0 +1,3 @@
This is a mod mail thread concerning ${user}.
The user has the roles ${roles} and joined on ${joinDate}
There were ${pastModMailThreadCount} threads in the past.