mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-04-19 21:17:44 +00:00
initial commit with the current state of the templates split into separate modules with assembly
This commit is contained in:
39
translations/modmail/pom.xml
Normal file
39
translations/modmail/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>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>
|
||||
15
translations/modmail/src/main/assembly/assembly.xml
Normal file
15
translations/modmail/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 @@
|
||||
This message was sent anonymous.
|
||||
@@ -0,0 +1 @@
|
||||
Mod mail thread has been closed
|
||||
@@ -0,0 +1 @@
|
||||
No note
|
||||
@@ -0,0 +1 @@
|
||||
Mod mail thread has been closed. If you have any questions please do not hesitate to contact us again.
|
||||
@@ -0,0 +1 @@
|
||||
Sends the given message to the user anonymously.
|
||||
@@ -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.
|
||||
@@ -0,0 +1 @@
|
||||
The text to reply with.
|
||||
@@ -0,0 +1 @@
|
||||
anonReply [text]
|
||||
@@ -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}.
|
||||
@@ -0,0 +1 @@
|
||||
Failed to delete text channel containing mod mail thread. The bot does not have permissions to do so.
|
||||
@@ -0,0 +1 @@
|
||||
Closes the mod mail thread and notifies the user.
|
||||
@@ -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.
|
||||
@@ -0,0 +1 @@
|
||||
The note with which this mod mail thread is being closed.
|
||||
@@ -0,0 +1 @@
|
||||
close [note]
|
||||
@@ -0,0 +1 @@
|
||||
Closes the mod mail thread, does *not* notify the user and does *not* log the thread.
|
||||
@@ -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.
|
||||
@@ -0,0 +1 @@
|
||||
closeNoLog
|
||||
@@ -0,0 +1 @@
|
||||
Closes the mod mail thread and does not notify the user.
|
||||
@@ -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.
|
||||
@@ -0,0 +1 @@
|
||||
The note with which this mod mail thread is being closed.
|
||||
@@ -0,0 +1 @@
|
||||
closeSilently [note]
|
||||
@@ -0,0 +1 @@
|
||||
Opens a mod mail thread with the given user.
|
||||
@@ -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.
|
||||
@@ -0,0 +1 @@
|
||||
The use to open a mod mail thread for.
|
||||
@@ -0,0 +1 @@
|
||||
contact <user>
|
||||
@@ -0,0 +1 @@
|
||||
Jump
|
||||
@@ -0,0 +1 @@
|
||||
Link
|
||||
@@ -0,0 +1 @@
|
||||
Thread already exists.
|
||||
@@ -0,0 +1 @@
|
||||
Removes the role from the roles being notified when a new thread is created by an user.
|
||||
@@ -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.
|
||||
@@ -0,0 +1 @@
|
||||
The role to not be notified about new threads anymore.
|
||||
@@ -0,0 +1 @@
|
||||
removeModMailRole <role>
|
||||
@@ -0,0 +1 @@
|
||||
Sends the given message to the user.
|
||||
@@ -0,0 +1 @@
|
||||
Failed to send message to user.
|
||||
@@ -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.
|
||||
@@ -0,0 +1 @@
|
||||
The text to reply with.
|
||||
@@ -0,0 +1 @@
|
||||
reply [message]
|
||||
@@ -0,0 +1 @@
|
||||
Sets the category under which the mod mail threads should be created.
|
||||
@@ -0,0 +1 @@
|
||||
Sets the category under which *new* mod mail threads are being created. Does not change the position of the old ones.
|
||||
@@ -0,0 +1 @@
|
||||
The category id to be used for creating mod mail text channels.
|
||||
@@ -0,0 +1 @@
|
||||
setModMailCategory <categoryId>
|
||||
@@ -0,0 +1 @@
|
||||
Adds the role to the roles being notified when a new thread is created by an user.
|
||||
@@ -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.
|
||||
@@ -0,0 +1 @@
|
||||
The role to be notified by new mod mail threads.
|
||||
@@ -0,0 +1 @@
|
||||
setModMailRole <role>
|
||||
@@ -0,0 +1 @@
|
||||
Subscribes to the current mod mail thread.
|
||||
@@ -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.
|
||||
@@ -0,0 +1 @@
|
||||
subscribe
|
||||
@@ -0,0 +1 @@
|
||||
Un-subscribes from the current mod mail thread.
|
||||
@@ -0,0 +1 @@
|
||||
Causes you to not be pinged in case the user sends another message to this mod mail thread.
|
||||
@@ -0,0 +1 @@
|
||||
unSubscribe
|
||||
@@ -0,0 +1 @@
|
||||
Mod mail
|
||||
@@ -0,0 +1 @@
|
||||
Commands to be used for mod mail.
|
||||
@@ -0,0 +1 @@
|
||||
Mod mail logging
|
||||
@@ -0,0 +1 @@
|
||||
The text to close mod mail threads with. Default: `${defaultValue}`
|
||||
@@ -0,0 +1 @@
|
||||
Mod mail threads will be created in category `${category}`.
|
||||
@@ -0,0 +1 @@
|
||||
The ID of the category you want to create the mod mail threads in. Currently the used category is: ${categoryName}
|
||||
@@ -0,0 +1 @@
|
||||
No category set
|
||||
@@ -0,0 +1 @@
|
||||
The channel towards which the closed mod mail threads should be logged to. (In the appropriate mode) Currently: ${currentTarget}
|
||||
@@ -0,0 +1 @@
|
||||
The channel which should be used to notify the responsible people about new mod mail threads. Currently: ${currentTarget}
|
||||
@@ -0,0 +1 @@
|
||||
You are already subscribed to this mod mail thread.
|
||||
@@ -0,0 +1 @@
|
||||
Cannot find mod mail thread with id ${id}.
|
||||
@@ -0,0 +1 @@
|
||||
Failed to create mod mail thread.
|
||||
@@ -0,0 +1 @@
|
||||
Failed to forward message. Existing mod mail thread has been deleted. Send another message to start a new one.
|
||||
@@ -0,0 +1 @@
|
||||
Generic mod mail failure. Check the logs.
|
||||
@@ -0,0 +1 @@
|
||||
No server for mod mail available.
|
||||
@@ -0,0 +1 @@
|
||||
Not in a mod mail thread.
|
||||
@@ -0,0 +1 @@
|
||||
You are not subscribed to this mod mail thread.
|
||||
@@ -0,0 +1 @@
|
||||
Post target `modmailLog` was not found.
|
||||
@@ -0,0 +1 @@
|
||||
The provided category ID is not valid.
|
||||
@@ -0,0 +1 @@
|
||||
Mod mail category is not correctly set up. `${categoryId}` is not valid.
|
||||
@@ -0,0 +1,2 @@
|
||||
For which server do you want to open a modmail?
|
||||
The available servers are:
|
||||
@@ -0,0 +1 @@
|
||||
The thread concerns ${user}.
|
||||
@@ -0,0 +1 @@
|
||||
A new mod mail thread has been opened.
|
||||
@@ -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.
|
||||
@@ -0,0 +1 @@
|
||||
No roles.
|
||||
@@ -0,0 +1 @@
|
||||
Moderator replied
|
||||
@@ -0,0 +1 @@
|
||||
User replied
|
||||
Reference in New Issue
Block a user