mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-04-15 20:16:36 +00:00
[AB-232] splitting logging functionality to separate module
changing user join/leave template to be an embed
This commit is contained in:
37
translations/logging/pom.xml
Normal file
37
translations/logging/pom.xml
Normal 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.5-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>logging</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>logging-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/logging/src/main/assembly/assembly.xml
Normal file
15
translations/logging/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 @@
|
||||
Logging
|
||||
@@ -0,0 +1 @@
|
||||
The channel in which deleted messages should be logged to. Currently: ${currentTarget}
|
||||
@@ -0,0 +1 @@
|
||||
The channel in which edited messages should be logged to. Currently: ${currentTarget}
|
||||
@@ -0,0 +1 @@
|
||||
The channel in which guild joins should be logged to. Currently: ${currentTarget}
|
||||
@@ -0,0 +1 @@
|
||||
The channel where guild leavers should be logged to. Currently: ${currentTarget}
|
||||
@@ -0,0 +1 @@
|
||||
Attachment
|
||||
@@ -0,0 +1 @@
|
||||
Link
|
||||
@@ -0,0 +1 @@
|
||||
Direct URL
|
||||
@@ -0,0 +1 @@
|
||||
Message from <@member_user_name member=member/> (${member.idLong?c}) removed in ${channel.asMention}
|
||||
@@ -0,0 +1 @@
|
||||
Link
|
||||
@@ -0,0 +1 @@
|
||||
:x: Original Message:
|
||||
@@ -0,0 +1 @@
|
||||
Message from <@member_user_name member=member/> (${member.idLong?c}) edited in ${messageChannel.asMention}
|
||||
@@ -0,0 +1 @@
|
||||
Jump Link
|
||||
@@ -0,0 +1 @@
|
||||
New message
|
||||
@@ -0,0 +1 @@
|
||||
Original message
|
||||
@@ -0,0 +1 @@
|
||||
User ${user} has joined the guild.
|
||||
@@ -0,0 +1 @@
|
||||
User ${user} has left the guild.
|
||||
Reference in New Issue
Block a user