Compare commits

...

15 Commits

Author SHA1 Message Date
Sheldan
609609e484 [maven-release-plugin] prepare release templates-1.4.21 2023-09-07 23:29:36 +02:00
Sheldan
9fc76179dc [AB-xxx] changing formatting for custom command output 2023-09-07 23:09:17 +02:00
Sheldan
ba52bea891 [maven-release-plugin] prepare for next development iteration 2023-09-07 21:10:10 +02:00
Sheldan
fd0c99ae60 [maven-release-plugin] prepare release templates-1.4.20 2023-09-07 21:10:06 +02:00
Sheldan
3687ec3daf [AB-104] adding templates for new cooldown related commands
removing all templates related to the custom cooldown handling for payday and slots
2023-09-06 01:24:51 +02:00
Sheldan
12665c09af [AB-97] adding wind speed to weather command 2023-09-05 01:44:51 +02:00
Sheldan
6819b13439 [AB-103] adding templates for custom command configuration commands 2023-09-05 01:25:28 +02:00
Sheldan
b5d6b964e2 [AB-xxx] adding poll not found exception templates 2023-09-03 01:40:43 +02:00
Sheldan
3d7359daa3 [maven-release-plugin] prepare for next development iteration 2023-09-03 00:51:28 +02:00
Sheldan
5b298ec037 [maven-release-plugin] prepare release templates-1.4.19 2023-09-03 00:51:23 +02:00
Sheldan
cca6c9eb9d [AB-94] adding templates for show poll command 2023-09-03 00:20:00 +02:00
Sheldan
3d1ef56aed [AB-100] fixing failing to show twitch streamer if default post target is not setup 2023-09-02 21:49:56 +02:00
Sheldan
4278310ddc [AB-101] adding random string to twitch stream preview image to invalidate cache 2023-09-02 21:42:13 +02:00
Sheldan
7d87c0d3f4 [AB-102] adding templates for redirect 2023-09-02 21:21:07 +02:00
Sheldan
a1d6d04011 [maven-release-plugin] prepare for next development iteration 2023-07-09 23:16:20 +02:00
106 changed files with 206 additions and 71 deletions

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>core</artifactId>
<version>1.4.18</version>
<version>1.4.21</version>
<build>
<plugins>

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "echo_redirect_response"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "removeCommandMemberCooldown_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "setCommandMemberCooldown_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -3,7 +3,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -0,0 +1,8 @@
{
"embeds": [
{
<#include "abstracto_color">,
"description": "<@safe_include "createCustomCommand_response_description"/>"
}
]
}

View File

@@ -0,0 +1,8 @@
{
"embeds": [
{
<#include "abstracto_color">,
"description": "<@safe_include "deleteCustomCommand_response_description"/>"
}
]
}

View File

@@ -0,0 +1,3 @@
{
"additionalMessage": "<@safe_include "getCustomCommand_response_text"/>"
}

View File

@@ -0,0 +1,4 @@
<#assign name=command.name/>
<#assign content=command.content/>
<#assign creator=command.creator.memberMention/>
<#include "listCustomCommands_entry_text">

View File

@@ -0,0 +1,8 @@
{
"embeds": [
{
<#include "abstracto_color">,
"description": "<@safe_include "listCustomCommands_no_commands_response_text"/>"
}
]
}

View File

@@ -0,0 +1,10 @@
{
"embeds": [
{
"description": "<#list row as command><#assign command=command><@safe_include "listCustomCommands_entry"/>\n</#list>"
}
],
"buttons": [
<#include "paginator_buttons">
]
}

View File

@@ -0,0 +1,9 @@
{
<#assign exitOnly=innerModel.customCommands?size lt 5/>
"embedConfigs": [
<#assign chunks=innerModel.customCommands?chunk(4)>
<#list chunks as row><#assign counter=row?index><#assign row=row><#include "listCustomCommands_response_entry"><#sep>,</#list>
],
"timeoutSeconds": 120,
"restrictUser": true
}

View File

@@ -0,0 +1 @@
<#include "custom_command_exists_exception_text">

View File

@@ -0,0 +1 @@
<#include "custom_command_not_found_exception_text">

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -1,2 +0,0 @@
<#assign retryDuration>${fmtDuration(model.tryAgainDuration)}</#assign>
<#include "payday_cooldown_exception_text">

View File

@@ -1,2 +0,0 @@
<#assign retryDuration>${fmtDuration(model.tryAgainDuration)}</#assign>
<#include "payday_cooldown_exception_text">

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>experience-tracking</artifactId>
<version>1.4.18</version>
<version>1.4.21</version>
<build>
<plugins>
<plugin>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -3,7 +3,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>moderation</artifactId>
<version>1.4.18</version>
<version>1.4.21</version>
<build>
<plugins>
<plugin>

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>modmail</artifactId>
<version>1.4.18</version>
<version>1.4.21</version>
<build>
<plugins>
<plugin>

View File

@@ -4,14 +4,14 @@
<parent>
<groupId>dev.sheldan.abstracto-templates</groupId>
<artifactId>templates</artifactId>
<version>1.4.18</version>
<version>1.4.21</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</version>
<version>1.4.21</version>
<modules>
<module>core</module>

View File

@@ -3,7 +3,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>statistic</artifactId>
<version>1.4.18</version>
<version>1.4.21</version>
<build>
<plugins>
<plugin>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -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>"
}
]
}

View File

@@ -0,0 +1 @@
Option: `${option.value}` - votes: ${option.votes} (${option.percentage}%)<#if option.adder?has_content> - Added by ${option.adder.memberMention}</#if>

View File

@@ -0,0 +1 @@
<#include "poll_does_not_exist_exception_text">

View File

@@ -3,7 +3,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -5,7 +5,9 @@
"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>

View File

@@ -15,7 +15,7 @@
"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}"
"imageUrl": "${thumbnail}?${randomString}"
}
],
"messageConfig": {

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>utility</artifactId>
<version>1.4.18</version>
<version>1.4.21</version>
<build>
<plugins>
<plugin>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -28,8 +28,16 @@
"inline": "true"
}
</#if>
<#if humidity??>
<#if windSpeed??>
<#if temperature??>,</#if>
{
"name": "<@safe_include "openWeatherMap_command_response_field_wind_field_title"/>",
"value": "${windSpeed}m/s",
"inline": "true"
}
</#if>
<#if humidity??>
<#if windSpeed?? || temperature??>,</#if>
{
"name": "<@safe_include "openWeatherMap_command_response_field_humidity_field_title"/>",
"value": "${humidity}%",

View File

@@ -5,7 +5,7 @@
<groupId>dev.sheldan.abstracto-templates</groupId>
<artifactId>templates</artifactId>
<version>1.4.18</version>
<version>1.4.21</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>templates-1.4.18</tag>
<tag>templates-1.4.21</tag>
</scm>
<repositories>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>core</artifactId>
<version>1.4.18</version>
<version>1.4.21</version>
<build>
<plugins>
<plugin>

View File

@@ -0,0 +1 @@
Sent to ${channel.channelMention}.

View File

@@ -0,0 +1 @@
The channel to post the message to

View File

@@ -0,0 +1 @@
Removes the server wide cooldown for an individual member

View File

@@ -0,0 +1 @@
This removes the cooldown that is applied to each member when they execute the command. The cooldown is the same on the whole server.

View File

@@ -0,0 +1 @@
Sets the cooldown of a command for the whole server for an individual member

View File

@@ -0,0 +1 @@
This command sets the cooldown for a given command to the given duration on the whole server for all members individually.

View File

@@ -3,7 +3,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -0,0 +1,2 @@
Creates a custom command if it does not already exist for this server.
Input is a name and the content which should be displayed.

View File

@@ -0,0 +1 @@
Deletes a custom command if exists for this server.

View File

@@ -0,0 +1 @@
Shows a specific custom command response

View File

@@ -0,0 +1 @@
This command searches through the current custom commands and shows the custom command that matches the given name.

View File

@@ -0,0 +1 @@
Shows all custom commands of the server with their response

View File

@@ -0,0 +1 @@
Command: **${name}** with response `${content}`.

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -1 +0,0 @@
The cooldown between each payday in seconds. Default: ${defaultValue}

View File

@@ -1 +0,0 @@
The cooldown between each slot in seconds. Default: ${defaultValue}

View File

@@ -1 +0,0 @@
Payday is on cooldown. Please try again in ${retryDuration}

View File

@@ -1 +0,0 @@
Slots is on cooldown. Please try again in ${retryDuration}

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>experience-tracking</artifactId>
<version>1.4.18</version>
<version>1.4.21</version>
<build>
<plugins>
<plugin>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>moderation</artifactId>
<version>1.4.18</version>
<version>1.4.21</version>
<build>
<plugins>
<plugin>

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>modmail</artifactId>
<version>1.4.18</version>
<version>1.4.21</version>
<build>
<plugins>
<plugin>

View File

@@ -4,14 +4,14 @@
<parent>
<groupId>dev.sheldan.abstracto-templates</groupId>
<artifactId>templates</artifactId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.18</version>
<version>1.4.21</version>
<modules>
<module>core</module>

View File

@@ -3,7 +3,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>statistic</artifactId>
<version>1.4.18</version>
<version>1.4.21</version>
<build>
<plugins>
<plugin>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.4.18</version>
<version>1.4.21</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -0,0 +1 @@
Shows information about a server poll

View File

@@ -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.

View File

@@ -0,0 +1 @@
The ID of the server poll you want to see information about

View File

@@ -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}

Some files were not shown because too many files have changed in this diff Show More