mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-04-14 03:46:00 +00:00
[AB-98] adding templates for twitch feature
This commit is contained in:
38
translations/twitch/pom.xml
Normal file
38
translations/twitch/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.4.18-SNAPSHOT</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} ${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.
|
||||
Reference in New Issue
Block a user