mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-01-20 15:06:13 +00:00
Compare commits
9 Commits
feature/AB
...
templates-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5b298ec037 | ||
|
|
cca6c9eb9d | ||
|
|
3d1ef56aed | ||
|
|
4278310ddc | ||
|
|
7d87c0d3f4 | ||
|
|
a1d6d04011 | ||
|
|
62e6d50b12 | ||
|
|
c8f2ebe7d7 | ||
|
|
5a63f0a8de |
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>core</artifactId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "echo_redirect_response"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>experience-tracking</artifactId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>moderation</artifactId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>modmail</artifactId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates</groupId>
|
||||
<artifactId>templates</artifactId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
|
||||
<modules>
|
||||
<module>core</module>
|
||||
@@ -34,6 +34,7 @@
|
||||
<module>voice-channel-context</module>
|
||||
<module>anti-raid</module>
|
||||
<module>custom-command</module>
|
||||
<module>twitch</module>
|
||||
</modules>
|
||||
|
||||
</project>
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>statistic</artifactId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
<#include "format_instant">
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#include "abstracto_color"/>,
|
||||
<#assign pollId=id>
|
||||
<#assign description=description>
|
||||
<#assign pollCreationDate><@format_instant_date_time instant=creationDate/></#assign>
|
||||
<#assign pollTargetDate><@format_instant_date_time instant=targetDate/></#assign>
|
||||
<#assign allowMultipleStr>${allowMultiple?string('✅', '❌')}</#assign>
|
||||
<#assign showDecisionsStr>${showDecisions?string('✅', '❌')}</#assign>
|
||||
<#assign allowAdditionsStr>${allowAdditions?string('✅', '❌')}</#assign>
|
||||
<#assign totalVotes=totalVotes>
|
||||
"description": "<@safe_include "showPoll_response_description"/><#list options as option><#assign option=option><@safe_include "showPoll_response_option_display"/><#sep>\n</#list>"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
Option: `${option.value}` - votes: ${option.votes} (${option.percentage}%)<#if option.adder?has_content> - Added by ${option.adder.memberMention}</#if>
|
||||
36
abstracto-modules/twitch/pom.xml
Normal file
36
abstracto-modules/twitch/pom.xml
Normal file
@@ -0,0 +1,36 @@
|
||||
<?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.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>twitch</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>twitch-templates-${project.version}</finalName>
|
||||
<appendAssemblyId>false</appendAssemblyId>
|
||||
<descriptors>
|
||||
<descriptor>src/main/assembly/assembly.xml</descriptor>
|
||||
</descriptors>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
15
abstracto-modules/twitch/src/main/assembly/assembly.xml
Normal file
15
abstracto-modules/twitch/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,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "addTwitchStreamer_response_description"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "changeTwitchStreamer_response_description"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#include "twitch_color">,
|
||||
"description": "<#list streamers as streamer>
|
||||
<#assign streamer=streamer>
|
||||
<#assign name=streamer.name>
|
||||
<#if streamer.targetChannel?has_content>
|
||||
<#assign targetChannel=streamer.targetChannel.channelMention>
|
||||
</#if>
|
||||
<#assign showNotificationsDisplay>${streamer.showNotifications?string('✅', '❌')}</#assign>
|
||||
<#assign streamerURL=streamer.streamerURL>
|
||||
<#include "listTwitchStreamer_response_streamer_display"><#sep>
|
||||
</#list>"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "removeTwitchStreamer_response_description"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<#include "streamer_already_exists_in_server_exception_message">
|
||||
@@ -0,0 +1 @@
|
||||
<#include "streamer_not_exists_exception_message">
|
||||
@@ -0,0 +1 @@
|
||||
<#include "streamer_not_exists_in_server_exception_message">
|
||||
@@ -0,0 +1,34 @@
|
||||
<#include "format_instant">
|
||||
{
|
||||
<#assign channelName=channelName>
|
||||
<#assign streamerAvatarURL=streamerAvatarURL>
|
||||
<#assign streamURL=streamURL>
|
||||
<#assign title=currentSection.title>
|
||||
<#assign thumbnail=currentSection.thumbnailURL>
|
||||
<#assign viewerCount=currentSection.viewerCount>
|
||||
"additionalMessage": "<@safe_include "twitch_streamer_go_live_notification_text"/>",
|
||||
"embeds": [
|
||||
{
|
||||
<#include "twitch_color">,
|
||||
"author": { "name": "${channelName}", "avatar": "${streamerAvatarURL}", "url": "${streamURL}"},
|
||||
"title": {
|
||||
"title": "${title?json_string}"
|
||||
},
|
||||
"description": "<@safe_include "twitch_streamer_go_live_notification_current_section"/> <#if pastSections?? && pastSections?size gt 0><@safe_include "twitch_streamer_go_live_notification_past_sections"/></#if>",
|
||||
"imageUrl": "${thumbnail}?${randomString}"
|
||||
}
|
||||
],
|
||||
"messageConfig": {
|
||||
"allowsRoleMention": true
|
||||
},
|
||||
"buttons": [
|
||||
{
|
||||
"label": "<@safe_include "twitch_streamer_go_live_notification_watch_button"/>",
|
||||
"url": "${streamURL?json_string}",
|
||||
"buttonStyle": "link",
|
||||
"metaConfig": {
|
||||
"persistCallback": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
<#include "format_instant">
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#include "twitch_color">,
|
||||
<#assign channelName=channelName>
|
||||
<#assign avatarURL=avatarURL>
|
||||
"title": {
|
||||
"title": "<@safe_include "twitch_streamer_went_offline_notification_title"/>"
|
||||
},
|
||||
"author": { "name": "${channelName}", "avatar": "${avatarURL}"},
|
||||
"description": "<@safe_include "twitch_streamer_went_offline_notification_past_sections"/>"
|
||||
<#if offlineImageURL??>,
|
||||
<#assign offlineImageURL=offlineImageURL>
|
||||
"imageUrl": "${offlineImageURL}"</#if>
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>utility</artifactId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
4
pom.xml
4
pom.xml
@@ -5,7 +5,7 @@
|
||||
|
||||
<groupId>dev.sheldan.abstracto-templates</groupId>
|
||||
<artifactId>templates</artifactId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
|
||||
<modules>
|
||||
<module>abstracto-modules</module>
|
||||
@@ -23,7 +23,7 @@
|
||||
<scm>
|
||||
<url>https://maven.pkg.github.com/Sheldan/abstracto-templates</url>
|
||||
<developerConnection>scm:git:git@github.com:Sheldan/abstracto-templates.git</developerConnection>
|
||||
<tag>HEAD</tag>
|
||||
<tag>templates-1.4.19</tag>
|
||||
</scm>
|
||||
|
||||
<repositories>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>translations</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>translations</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<artifactId>translations</artifactId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>core</artifactId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Sent to ${channel.channelMention}.
|
||||
@@ -0,0 +1 @@
|
||||
The channel to post the message to
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<artifactId>translations</artifactId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>translations</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<artifactId>translations</artifactId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>experience-tracking</artifactId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>translations</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>translations</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>translations</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<artifactId>translations</artifactId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>moderation</artifactId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<artifactId>translations</artifactId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>modmail</artifactId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates</groupId>
|
||||
<artifactId>templates</artifactId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<artifactId>translations</artifactId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
|
||||
<modules>
|
||||
<module>core</module>
|
||||
@@ -34,6 +34,7 @@
|
||||
<module>voice-channel-context</module>
|
||||
<module>anti-raid</module>
|
||||
<module>custom-command</module>
|
||||
<module>twitch</module>
|
||||
</modules>
|
||||
|
||||
</project>
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<artifactId>translations</artifactId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>translations</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>translations</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>translations</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<artifactId>translations</artifactId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>statistic</artifactId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>translations</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Shows information about a server poll
|
||||
@@ -0,0 +1,3 @@
|
||||
Shows all options and the configuration of a server poll.
|
||||
The options are shown with the current amount of votes in total and percentage amount.
|
||||
If a member added an option, this is also shown.
|
||||
@@ -0,0 +1 @@
|
||||
The ID of the server poll you want to see information about
|
||||
@@ -0,0 +1,6 @@
|
||||
Poll ${id} with description: `${description}` started at ${pollCreationDate} and lasts until ${pollTargetDate} and has ${totalVotes} total votes.
|
||||
Configuration:
|
||||
Allow multiple: ${allowMultipleStr}
|
||||
Show decisions: ${showDecisionsStr}
|
||||
Allow additions: ${allowAdditionsStr}
|
||||
|
||||
36
translations/twitch/pom.xml
Normal file
36
translations/twitch/pom.xml
Normal file
@@ -0,0 +1,36 @@
|
||||
<?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.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
<artifactId>twitch</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>twitch-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/twitch/src/main/assembly/assembly.xml
Normal file
15
translations/twitch/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 @@
|
||||
Streamer has been added.
|
||||
@@ -0,0 +1 @@
|
||||
Adds a streamer to the notifications
|
||||
@@ -0,0 +1,3 @@
|
||||
Adds a streamer to the list of streamers, to be notified if they go online.
|
||||
The streamer is identified by the name in the URL. Per default the notifications are sent to the `liveNotification` post target, but you can provide an optional target channel.
|
||||
You can also select a member which is associated with this streamer.
|
||||
@@ -0,0 +1 @@
|
||||
The user in this server who is associated with this streamer.
|
||||
@@ -0,0 +1 @@
|
||||
The name of the streamer
|
||||
@@ -0,0 +1 @@
|
||||
Which channel the notification should be posted in
|
||||
@@ -0,0 +1 @@
|
||||
Streamer has been updated.
|
||||
@@ -0,0 +1 @@
|
||||
Used to change existing streamers
|
||||
@@ -0,0 +1,6 @@
|
||||
This command can be used to change the configuration of currently existing streamers. In particular:
|
||||
If the streamer has an associated member in this server. Do this by mentioning a member in the command.
|
||||
The target channel of the streamer. Do this by mentioning the channel in the command.
|
||||
|
||||
If you provide something that does not fit the format, the property will be removed.
|
||||
For example pass "no member" as the target member, and the member will be removed.
|
||||
@@ -0,0 +1 @@
|
||||
The new value of the property
|
||||
@@ -0,0 +1 @@
|
||||
Whether to show notifications: yes/no.
|
||||
@@ -0,0 +1 @@
|
||||
Streamer member
|
||||
@@ -0,0 +1 @@
|
||||
Target channel
|
||||
@@ -0,0 +1 @@
|
||||
Template key to use - pass "default" to set to default
|
||||
@@ -0,0 +1 @@
|
||||
The property you want to change
|
||||
@@ -0,0 +1 @@
|
||||
The name of the streamer you want to change
|
||||
@@ -0,0 +1 @@
|
||||
Shows current streamers and their configuration
|
||||
@@ -0,0 +1 @@
|
||||
Shows current streamers and their configuration
|
||||
@@ -0,0 +1 @@
|
||||
`${name}` ([Page](${streamerURL})): ${(targetChannel)!"No channel set"} ${showNotificationsDisplay}.
|
||||
@@ -0,0 +1 @@
|
||||
Removes a streamer from this server
|
||||
@@ -0,0 +1 @@
|
||||
This command can be used to remove a particular streamer from the server notifications.
|
||||
@@ -0,0 +1 @@
|
||||
The streamer to be removed
|
||||
@@ -0,0 +1 @@
|
||||
Streamer has been removed.
|
||||
@@ -0,0 +1 @@
|
||||
Streamer already exists.
|
||||
@@ -0,0 +1 @@
|
||||
Streamer was not found on Twitch. Only use the name of the Streamer.
|
||||
@@ -0,0 +1 @@
|
||||
Streamer not found.
|
||||
@@ -0,0 +1 @@
|
||||
Channel to sent twitch live notifications in. Currently: ${currentTarget}
|
||||
@@ -0,0 +1 @@
|
||||
Twitch
|
||||
@@ -0,0 +1,5 @@
|
||||
"color" : {
|
||||
"r": 128,
|
||||
"g": 0,
|
||||
"b": 128
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
[${channelName}](${streamURL}) is playing ${currentSection.gameName} for ${currentSection.viewerCount} viewers.
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
They played:
|
||||
<#list pastSections as section>
|
||||
<@format_instant_date_time instant=section.startedAt/> `${section.gameName}` - `${section.title}`
|
||||
</#list>
|
||||
@@ -0,0 +1 @@
|
||||
Watch stream
|
||||
@@ -0,0 +1 @@
|
||||
${channelName} went offline.
|
||||
@@ -0,0 +1,4 @@
|
||||
They played:
|
||||
<#list pastSections as section>
|
||||
<@format_instant_date_time instant=section.startedAt/> `${section.gameName}` - `${section.title}`
|
||||
</#list>
|
||||
@@ -0,0 +1 @@
|
||||
${channelName} went offline.
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<artifactId>translations</artifactId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>utility</artifactId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>translations</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<version>1.4.18-SNAPSHOT</version>
|
||||
<version>1.4.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user