mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-04-16 12:28:08 +00:00
[AB-197] moving templates from utility to their respective maven modules
This commit is contained in:
38
translations/repost-detection/pom.xml
Normal file
38
translations/repost-detection/pom.xml
Normal file
@@ -0,0 +1,38 @@
|
||||
<?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.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>repost-detection</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>repost-detection-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/repost-detection/src/main/assembly/assembly.xml
Normal file
15
translations/repost-detection/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 @@
|
||||
Disables repost checking for a channel group
|
||||
@@ -0,0 +1,2 @@
|
||||
Disables the repost checking for the given channel group.
|
||||
This will take effect immediately, but will not impact the existing images stored.
|
||||
@@ -0,0 +1 @@
|
||||
The channel group to disable repost checking for
|
||||
@@ -0,0 +1 @@
|
||||
Enables the repost check for the given channel group
|
||||
@@ -0,0 +1 @@
|
||||
This command can be used to enable the repost check for a given channel group. This takes effect immediately.
|
||||
@@ -0,0 +1 @@
|
||||
The channel group to enable repost checking for
|
||||
@@ -0,0 +1 @@
|
||||
Removes stored image hashes from the database
|
||||
@@ -0,0 +1,3 @@
|
||||
This command can be used to remove the stored image posts from one member or from the whole server.
|
||||
The only argument is an optional member mention, if this is not present all image posts are affected.
|
||||
It will also remove any reposts which were tracked for the found posts.
|
||||
@@ -0,0 +1 @@
|
||||
The member to remove image posts of
|
||||
@@ -0,0 +1 @@
|
||||
Removes the tracked reposts from the database
|
||||
@@ -0,0 +1,3 @@
|
||||
This command can be used to remove the tracked reposts of a given member of the whole server.
|
||||
The only argument is an optional member mention, if this is not present all reposts are affected.
|
||||
It will only remove the tracked reposts, the stored image posts will remain.
|
||||
@@ -0,0 +1 @@
|
||||
The member to remove reposts of
|
||||
@@ -0,0 +1 @@
|
||||
Your position
|
||||
@@ -0,0 +1 @@
|
||||
Reposts
|
||||
@@ -0,0 +1 @@
|
||||
Name
|
||||
@@ -0,0 +1 @@
|
||||
No reposts
|
||||
@@ -0,0 +1 @@
|
||||
Rank
|
||||
@@ -0,0 +1 @@
|
||||
Shows the channel groups and the channels in which repost checks are enabled
|
||||
@@ -0,0 +1,2 @@
|
||||
This command can be used to show in which channel groups and channels the repost check is enabled.
|
||||
This will show the channel mentions in case they exist, and only the channel ID it it doesnt.
|
||||
@@ -0,0 +1 @@
|
||||
Channel groups
|
||||
@@ -0,0 +1 @@
|
||||
No channel groups
|
||||
@@ -0,0 +1 @@
|
||||
No channels
|
||||
@@ -0,0 +1 @@
|
||||
Repost detection
|
||||
@@ -0,0 +1 @@
|
||||
Repost detection
|
||||
@@ -0,0 +1 @@
|
||||
Repost check channel not found.
|
||||
Reference in New Issue
Block a user