Compare commits

..

57 Commits

Author SHA1 Message Date
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
Sheldan
62e6d50b12 [maven-release-plugin] prepare release templates-1.4.18 2023-07-09 23:16:15 +02:00
Sheldan
c8f2ebe7d7 [AB-98] removing test string 2023-07-09 23:10:38 +02:00
Sheldan
5a63f0a8de [AB-98] adding templates for twitch feature 2023-07-09 23:09:34 +02:00
Sheldan
4810352160 [AB-90] extracting add option button label to template 2023-06-04 21:58:05 +02:00
Sheldan
ee4a39f871 [maven-release-plugin] prepare for next development iteration 2023-06-04 21:16:06 +02:00
Sheldan
4a80d0ca71 [maven-release-plugin] prepare release templates-1.4.17 2023-06-04 21:16:02 +02:00
Sheldan
7e99db3733 [AB-90] adding poll functionality 2023-06-04 21:10:55 +02:00
Sheldan
9373b07c8a [AB-xx] making description for slow mode parameter shorter 2023-05-18 23:33:58 +02:00
Sheldan
af436715f5 [maven-release-plugin] prepare for next development iteration 2023-05-18 22:52:04 +02:00
Sheldan
4f8c4d0062 [maven-release-plugin] prepare release templates-1.4.16 2023-05-18 22:52:00 +02:00
Sheldan
7300dccfc7 [AB-93] adapting templates causing an message attachment to use new behaviour 2023-05-18 22:33:36 +02:00
Sheldan
892de1bcd3 [AB-92] fixing modmail already exists template 2023-05-18 01:23:03 +02:00
OneNormalUsername
993d5a2873 Various minor wording updates (#11)
Co-authored-by: Sheldan <5037282+Sheldan@users.noreply.github.com>
2023-04-14 16:51:28 +02:00
Sheldan
d9f65184e7 [AB-xxx] fixing help text for feature modes parameter 2023-03-29 23:53:01 +02:00
Sheldan
4e963d6767 [AB-xxx] fixing showing the user id with "," for warnings output 2023-03-19 16:47:52 +01:00
Sheldan
a3d125b67d [AB-91] adding direct link to open weather map in the output of the weather command 2023-03-19 10:55:36 +01:00
Sheldan
c6aa854aa3 [maven-release-plugin] prepare for next development iteration 2023-03-19 00:13:09 +01:00
Sheldan
318b41ae3d [maven-release-plugin] prepare release templates-1.4.15 2023-03-19 00:13:05 +01:00
Sheldan
e05f774500 [AB-89] adding templates for weather command feature 2023-03-19 00:04:06 +01:00
Sheldan
b6a2dd2da7 [AB-xxx] adding comma as separator for emote stats 2023-03-12 13:51:05 +01:00
Sheldan
1b8717a5aa [AB-xxx] changing logic for author names and avatars to be more considerate between user and member avatar
limiting roles for userinfo and features for server info to lower values
2023-03-05 13:49:46 +01:00
Sheldan
4bcc4260d1 [maven-release-plugin] prepare for next development iteration 2023-02-26 10:57:04 +01:00
Sheldan
fcadb4260b [maven-release-plugin] prepare release templates-1.4.14 2023-02-26 10:56:59 +01:00
Sheldan
dba30f80f2 [AB-85] adding template for suggestion thread name
not showing suggestion votes in the update message in case reactions are used for suggestions
2023-02-26 10:53:27 +01:00
Sheldan
acb65e49b2 [AB-84] adding suggestion text, vote percentages and emotes to suggestion update message 2023-02-25 18:34:27 +01:00
Sheldan
f934f1d2f9 [maven-release-plugin] prepare for next development iteration 2023-02-04 15:45:43 +01:00
Sheldan
a6b57310e3 [maven-release-plugin] prepare release templates-1.4.13 2023-02-04 15:45:39 +01:00
Sheldan
e4eb86da33 [AB-83] changing suggestion auto evaluation text to be relative and adapting naming
adding emotes to suggestion buttons
adding missing configuration setup template
2023-02-04 15:45:10 +01:00
Sheldan
28c26cf966 [maven-release-plugin] prepare for next development iteration 2023-02-04 14:51:22 +01:00
Sheldan
0e220001ed [maven-release-plugin] prepare release templates-1.4.12 2023-02-04 14:51:17 +01:00
Sheldan
e9adccb06a [AB-20] adding templates for experience level up notification config command 2023-01-28 13:12:44 +01:00
Sheldan
36d9996c02 [maven-release-plugin] prepare for next development iteration 2023-01-12 01:36:41 +01:00
Sheldan
54e12e3d0a [maven-release-plugin] prepare release templates-1.4.11 2023-01-12 01:36:37 +01:00
Sheldan
801bdddac9 [AB-xxx] fixing rank template for low experience 2022-12-21 15:48:07 +01:00
Sheldan
6b60228313 [maven-release-plugin] prepare for next development iteration 2022-12-21 13:25:56 +01:00
Sheldan
70e6b76e7b [maven-release-plugin] prepare release templates-1.4.10 2022-12-21 13:25:51 +01:00
Sheldan
0bc7105b62 [AB-xxx] adding level progress to rank command 2022-12-21 01:39:10 +01:00
Sheldan
3eb08360ec [AB-xxx] fixing template for serverinfo output 2022-12-20 13:17:53 +01:00
Sheldan
1089292fd7 [maven-release-plugin] prepare for next development iteration 2022-12-10 16:56:00 +01:00
Sheldan
c419ea3928 [maven-release-plugin] prepare release templates-1.4.9 2022-12-10 16:55:56 +01:00
Sheldan
646225d46a [AB-77] adding templates for reaction report failure in case of interactions 2022-12-10 13:06:35 +01:00
Sheldan
43a91d974b [maven-release-plugin] prepare for next development iteration 2022-12-02 21:22:12 +01:00
Sheldan
e4eba1e726 [maven-release-plugin] prepare release templates-1.4.8 2022-12-02 21:22:08 +01:00
Sheldan
95b9b3ba3b [AB-66] adapting invalid mine board configuration message 2022-12-02 21:21:33 +01:00
Sheldan
50d5954d6b [maven-release-plugin] prepare for next development iteration 2022-12-02 01:37:27 +01:00
291 changed files with 872 additions and 124 deletions

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.7</version>
<version>1.4.20</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.7</version>
<version>1.4.20</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.7</version>
<version>1.4.20</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>core</artifactId>
<version>1.4.7</version>
<version>1.4.20</version>
<build>
<plugins>

View File

@@ -1,2 +1,4 @@
<#include "member_avatar">
<#macro member_author member> "author": { "name": "<@member_user_name member=member/>", "avatar": "${member.user.effectiveAvatarUrl}" }</#macro>
<#macro member_display_author member> "author": { "name": "<@member_display_user_name member=member/>", "avatar": "<@member_display_avatar member=member/>" }</#macro>
<#macro member_display_author member> "author": { "name": "<@member_display_member_name member=member/>", "avatar": "<@member_display_avatar member=member/>" }</#macro>
<#macro member_display_user_author member> "author": { "name": "<@member_display_user_name member=member/>", "avatar": "<@member_display_user_avatar member=member/>" }</#macro>

View File

@@ -1 +1,2 @@
<#macro member_display_avatar member><#if member.memberAvatarUrl?has_content>${member.memberAvatarUrl?json_string}<#else>${member.userAvatarUrl?json_string}</#if></#macro>
<#macro member_display_user_avatar member>${member.userAvatarUrl?json_string}</#macro>

View File

@@ -1,2 +1,3 @@
<#macro member_user_name member>${member.effectiveName?json_string}#${member.user.discriminator}</#macro>
<#macro member_display_user_name member><#if member.nickname?has_content>${member.nickname?json_string}<#else>${member.userName?json_string}</#if>#${member.discriminator}</#macro>
<#macro member_display_member_name member><#if member.nickname?has_content>${member.nickname?json_string}<#else>${member.userName?json_string}</#if>#${member.discriminator}</#macro>
<#macro member_display_user_name member>${member.userName?json_string}#${member.discriminator}</#macro>

View File

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

View File

@@ -3,7 +3,8 @@
"additionalMessage": "<@safe_include "getCustomTemplate_response_embed_text"/>",
"files": [
{
"fileName": "${templateKey}.ftl"
"fileName": "${templateKey}.ftl",
"fileContent": "${templateContent?json_string}"
}
]
}

View File

@@ -3,7 +3,8 @@
"additionalMessage": "<@safe_include "getTemplate_response_embed_text"/>",
"files": [
{
"fileName": "${templateKey}.ftl"
"fileName": "${templateKey}.ftl",
"fileContent": "${templateContent?json_string}"
}
]
}

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.7</version>
<version>1.4.20</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.7</version>
<version>1.4.20</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -1 +1,2 @@
<#assign minRatio>${model.minMinesRatio * 100}</#assign>
<#include "invalid_mine_board_config_exception_text">

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.7</version>
<version>1.4.20</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>experience-tracking</artifactId>
<version>1.4.7</version>
<version>1.4.20</version>
<build>
<plugins>
<plugin>

View File

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

View File

@@ -29,6 +29,11 @@
"name": "<@safe_include "rank_rank_field_title"/>",
"value": "${rankUser.rank}",
"inline": "true"
},
{
"name": "<@safe_include "rank_level_progress_field_title"/>",
"value": "${inLevelExperience} <#list 0..currentLevelPercentage/10?floor as cent><#if cent gt 0>🔹</#if></#list><#if (currentLevelPercentage % 10) gt 4>🔸<#else>▫</#if><#assign restCent></#assign><#list 0..(10 - currentLevelPercentage/10?ceiling) as cent><#if cent gt 0>▫</#if></#list> ${nextLevelExperience - experienceForCurrentLevel}",
"inline": "false"
}
]
}

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.7</version>
<version>1.4.20</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.7</version>
<version>1.4.20</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.7</version>
<version>1.4.20</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.7</version>
<version>1.4.20</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>moderation</artifactId>
<version>1.4.7</version>
<version>1.4.20</version>
<build>
<plugins>
<plugin>

View File

@@ -2,8 +2,8 @@
<#assign decayed=warning.decayed/>
<#assign warnId=warning.warnId/>
<#assign reason=warning.reason/>
<#assign warnedUserText><#if warning.warnedUser.memberMention??>${warning.warnedUser.memberMention}(${warning.warnedUser.userId})<#else>${warning.warnedUser.userId?c}</#if></#assign>
<#assign warningUserText><#if warning.warningUser.memberMention??>${warning.warningUser.memberMention}(${warning.warnedUser.userId})<#else>${warning.warningUser.userId?c}</#if></#assign>
<#assign warnedUserText><#if warning.warnedUser.memberMention??>${warning.warnedUser.memberMention}(${warning.warnedUser.userId?c})<#else>${warning.warnedUser.userId?c}</#if></#assign>
<#assign warningUserText><#if warning.warningUser.memberMention??>${warning.warningUser.memberMention}(${warning.warnedUser.userId?c})<#else>${warning.warningUser.userId?c}</#if></#assign>
<#assign warnDate><@format_instant_date_time instant=warning.warnDate/></#assign>
<#include "warnings_warn_entry_text">

View File

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

View File

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

View File

@@ -2,7 +2,7 @@
"embeds": [
{
<#include "member_author">
<@member_author member=member/>,
<@member_display_author member=executingMemberDisplay/>,
<#include "modmail_color">,
"description": "<@safe_include "modmail_thread_already_exists"/>",
"fields": [

View File

@@ -4,14 +4,14 @@
<parent>
<groupId>dev.sheldan.abstracto-templates</groupId>
<artifactId>templates</artifactId>
<version>1.4.7</version>
<version>1.4.20</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.7</version>
<version>1.4.20</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>

View File

@@ -3,7 +3,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.7</version>
<version>1.4.20</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.7</version>
<version>1.4.20</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.7</version>
<version>1.4.20</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.7</version>
<version>1.4.20</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.7</version>
<version>1.4.20</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>statistic</artifactId>
<version>1.4.7</version>
<version>1.4.20</version>
<build>
<plugins>
<plugin>

View File

@@ -7,7 +7,8 @@
"additionalMessage": "<@safe_include "downloadEmoteStats_response_embed_text"/>",
"files": [
{
"fileName": "${serverId}-emotestats.csv"
"fileName": "<@safe_include "downloadEmoteStats_file_name"/>",
"fileContent": "<@safe_include "downloadEmoteStats_file_content"/>"
}
]
}

View File

@@ -5,7 +5,7 @@
"title": "<@safe_include "emoteStats_animated_emotes_title"/>"
},
<#include "statistic_color">,
"description": "<#list animatedEmotes as emote><#if emote.emote?has_content>${emote.emote.asMention}x${emote.result.amount?c}<#sep> </#if></#list>"
"description": "<#list animatedEmotes as emote><#if emote.emote?has_content>${emote.emote.asMention}x${emote.result.amount?c}<#sep>, </#if></#list>"
}
]
}

View File

@@ -5,7 +5,7 @@
"title": "<@safe_include "emoteStats_static_emotes_title"/>"
},
<#include "statistic_color">,
"description": "<#list staticEmotes as emote><#if emote.emote?has_content>${emote.emote.asMention}x${emote.result.amount?c}<#sep> </#if></#list>"
"description": "<#list staticEmotes as emote><#if emote.emote?has_content>${emote.emote.asMention}x${emote.result.amount?c}<#sep>, </#if></#list>"
}
]
}

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,16 @@
{
"embeds": [
{
"description": "<@safe_include "poll_server_close_message_description"/>"
<#if text?has_content>,
"fields": [
{
"name": "<@safe_include "poll_server_close_message_embed_text_field_title"/>",
"value": "${text?json_string}"
}
]
</#if>
}
],
"referencedMessageId": "${pollMessageId?c}"
}

View File

@@ -0,0 +1,24 @@
{
"id": "${modalId}",
"title": "<@safe_include "poll_server_add_option_modal_title"/>",
"textInputs": [
{
"placeHolder": "<@safe_include "poll_server_add_option_modal_label_placeholder"/>",
"id": "${labelInputComponentId}",
"position": 1,
"label": "<@safe_include "poll_server_add_option_modal_label_label"/>",
"style": "paragraph",
"maxLength": 100,
"required": true
},
{
"placeHolder": "<@safe_include "poll_server_add_option_modal_description_placeholder"/>",
"id": "${descriptionInputComponentId}",
"position": 2,
"label": "<@safe_include "poll_server_add_option_modal_description_label"/>",
"style": "paragraph",
"maxLength": 100,
"required": false
}
]
}

View File

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

View File

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

View File

@@ -0,0 +1,12 @@
{
"embeds": [
{
"title": {
"title": "<@safe_include "poll_server_evaluation_title"/>"
},
<#include "abstracto_color">,
"description": "<#list options as option><#assign option=option><@safe_include "poll_message_option_display_always"/><#sep>\n</#list>"
}
],
"referencedMessageId": "${pollMessageId?c}"
}

View File

@@ -0,0 +1,47 @@
<#include "format_instant">
{
"embeds": [
{
"title": {
"title": "<@safe_include "poll_server_message_title"/>"
},
<#assign formattedEndDate><@format_instant_relative instant=endDate/></#assign>
"description": "<@safe_include "poll_server_description_info"/><#list options as option><#assign option=option><@safe_include "poll_message_option_display"/><#sep>\n</#list>"
}
],
"selectionMenus": [
{
"position": 1,
"id": "${selectionMenuId}",
"type": "STRING",
"minValues": 1,
<#if allowMultiple>
"maxValues": ${options?size},
<#else>
"maxValues": 1,
</#if>
"menuEntries": [
<#list options as option>
{
"value": "${option.value}",
"label": "${option.label}",
"description": "${option.description}"
}
<#sep>,</#list>
]
}
]
<#if allowAdditions && options?size lt 20>,
"buttons": [
{
"label": "<@safe_include "poll_message_button_add_option_label"/>",
"position": 2,
"id": "${addOptionButtonId}",
"buttonStyle": "secondary",
"metaConfig": {
"persistCallback": false
}
}
]
</#if>
}

View File

@@ -0,0 +1,21 @@
<#include "format_instant">
{
"embeds": [
{
<#include "abstracto_color"/>,
<#assign pollId=pollId>
<#assign description=description>
"description": "<@safe_include "poll_reminder_job_notification_message_description"/><#list topOptions as option><#assign option=option><@safe_include "poll_message_option_display_always"/><#sep>\n</#list>"
}
],
"buttons": [
{
"label": "<@safe_include "poll_server_reminder_job_button_jump"/>",
"url": "${messageLink?json_string}",
"buttonStyle": "link",
"metaConfig": {
"persistCallback": false
}
}
]
}

View File

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

View File

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

View File

@@ -0,0 +1,12 @@
{
"embeds": [
{
"title": {
"title": "<@safe_include "poll_quick_evaluation_title"/>"
},
<#include "abstracto_color">,
"description": "<#list options as option><#assign option=option><@safe_include "poll_message_option_display_always"/><#sep>\n</#list>"
}
],
"referencedMessageId": "${pollMessageId?c}"
}

View File

@@ -0,0 +1,34 @@
<#include "format_instant">
{
"embeds": [
{
"title": {
"title": "<@safe_include "poll_quick_message_title"/>"
},
<#assign formattedEndDate><@format_instant_relative instant=endDate/></#assign>
"description": "<@safe_include "poll_quick_description_info"/><#list options as option><#assign option=option><@safe_include "poll_quick_message_option_display"/><#sep>\n</#list>"
}
],
"selectionMenus": [
{
"position": 1,
"id": "${selectionMenuId}",
"type": "STRING",
"minValues": 1,
<#if allowMultiple>
"maxValues": ${options?size},
<#else>
"maxValues": 1,
</#if>
"menuEntries": [
<#list options as option>
{
"value": "${option.value}",
"label": "${option.label}",
"description": "${option.description}"
}
<#sep>,</#list>
]
}
]
}

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

@@ -9,7 +9,7 @@
<#include "abstracto_color">,
<#assign id>${suggestionId}</#assign>
<#if autoEvaluationEnabled>
<#assign suggestionAutoEvaluateDate><@format_instant_date_time instant=autoEvaluationTargetDate/></#assign>
<#assign suggestionAutoEvaluateDate><@format_instant_relative instant=autoEvaluationTargetDate/></#assign>
</#if>
"description": "${text?json_string}<#if autoEvaluationEnabled><@safe_include "suggest_auto_evaluation_hint"/></#if>",
<#if attachmentURL?has_content>
@@ -25,6 +25,7 @@
{
"label": "<@safe_include "suggest_button_agree_label"/>",
"id": "${agreeButtonModel.buttonId}",
"emoteMarkdown" : "👍",
"buttonStyle": "success",
"metaConfig": {
"persistCallback": false
@@ -34,6 +35,7 @@
"label": "<@safe_include "suggest_button_disagree_label"/>",
"id": "${disAgreeButtonModel.buttonId}",
"buttonStyle": "danger",
"emoteMarkdown" : "👎",
"metaConfig": {
"persistCallback": false
}
@@ -42,6 +44,7 @@
"label": "<@safe_include "suggest_button_reset_vote_label"/>",
"id": "${removeVoteButtonModel.buttonId}",
"buttonStyle": "secondary",
"emoteMarkdown" : "↩️",
"metaConfig": {
"persistCallback": false
}

View File

@@ -5,22 +5,30 @@
<#if message?? && message.attachments?size gt 0>
"imageUrl": "${message.attachments[0].proxyUrl}",
</#if>
"description": "<@safe_include "suggest_text_label"/>: ${text}"
<#if reason?has_content || buttonsActive>,
"fields": [
<#if reason?has_content>
<#if reason?has_content>
{
"name": "<@safe_include "suggest_reason_field_title"/>",
"value": "${reason?json_string}"
},
}
</#if>
<#if buttonsActive>
<#if reason?has_content>
,
</#if>
{
"name": "<@safe_include "suggestion_agreements_field_title"/>",
"value": "${agreeVotes?c}"
"value": "👍 ${agreeVotes?c} (${agreementPercentage?ceiling}%)"
},
{
"name": "<@safe_include "suggestion_disagreements_field_title"/>",
"value": "${disAgreeVotes?c}"
"value": "👎 ${disAgreeVotes?c} (${disAgreementPercentage?ceiling}%)"
}
</#if>
]
</#if>
}
],
"referencedMessageId": "${originalMessageId?c}",

View File

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

View File

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

View File

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

View 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.20</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>

View 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>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -44,7 +44,7 @@
},
{
"name": "<@safe_include "serverinfo_embed_emote_count_title"/>",
"value": "${guild.emotes?size}",
"value": "${guild.emojis?size}",
"inline": "true"
},
{
@@ -59,8 +59,9 @@
},
{
"name": "<@safe_include "serverinfo_embed_features_field_title"/>",
"value": "<#list guild.features as feature>${feature}<#sep>, <#else><@safe_include "serverinfo_embed_features_no_features"/></#list>",
"inline": "true"
"value": "<#list guild.features as feature>${feature}<#sep> <#else><@safe_include "serverinfo_embed_features_no_features"/></#list>",
"inline": "true",
"valueSplitLength": 250
}
]
}

View File

@@ -3,9 +3,9 @@
"embeds": [
{
<#include "member_author">
<#include "member_avatar">
<@member_display_author member=memberDisplay/>,
<@member_display_user_author member=memberDisplay/>,
<#include "abstracto_color">,
<#include "member_avatar">
"thumbnail": "<@member_display_avatar member=memberDisplay/>",
"fields": [
{
@@ -39,8 +39,9 @@
,
{
"name": "<@safe_include "userInfo_response_embed_roles_field_title"/>",
"value": "<#list roles as role>${role.roleMention?json_string}<#sep>, </#list>",
"inline": "true"
"value": "<#list roles as role>${role.roleMention?json_string}<#sep> </#list>",
"inline": "true",
"valueSplitLength": 250
}
</#if>
<#if activities?size gt 0>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.7</version>
<version>1.4.20</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.7</version>
<version>1.4.20</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -0,0 +1,50 @@
{
"embeds": [
{
"color" : {
"r": ${embedColor.red},
"g": ${embedColor.green},
"b": ${embedColor.blue}
},
<#assign weatherMap = { "Rain": "🌧️", "Clouds": "☁️", "Mist": "🌁", "Fog": "🌫️", "Sand": "⏳", "Dust": "⏳", "Thunderstorm": "⛈️", "Snow": "🌨️", "Clear": "☀️"}>
<#assign locationName=locationName>
<#assign countryKey=countryKey>
<#assign weatherIcon>${weatherMap[mainWeather]!""}</#assign>
<#assign weatherKey=mainWeather!"">
<#assign weatherDescription=description!"">
<#assign weatherLocationLink>https://openweathermap.org/city/${locationId?c}</#assign>
"description": "<@safe_include "openWeatherMap_command_response_description"/>",
"fields": [
<#if temperature??>
{
<#assign displayTemperaturRange=maxTemperature!=minTemperature>
"name": "<@safe_include "openWeatherMap_command_response_field_temperature_field_title"/>",
"value": "<@safe_include "openWeatherMap_command_response_field_temperature_field_value"/>",
"inline": "true"
},
{
"name": "<@safe_include "openWeatherMap_command_response_field_temperature_feels_like_field_title"/>",
"value": "${feelsLikeTemperature}°C",
"inline": "true"
}
</#if>
<#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}%",
"inline": "true"
}
</#if>
]
}
]
}

View File

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

View File

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

View File

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

View File

@@ -1 +1 @@
The min level of members to get muted automatically because of a mass mention. Only considered when the feature 'experience' is enabled. Default: ${defaultValue}
The minimum level of members that will be automatically muted following a mass mention. Only considered when the feature 'experience' is enabled. Default: ${defaultValue}

View File

@@ -1 +1 @@
The channel in which mass ping mutes should be logged to. Currently: ${currentTarget}
The channel in which mutes following a mass mention should be logged to. Currently: ${currentTarget}

View File

@@ -1 +1 @@
${memberMention} was muted for mentioning ${mentionCount} members.
${memberMention} has been muted for mentioning ${mentionCount} members.

View File

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

View File

@@ -1,3 +1,3 @@
Creates an assignable role place with the given name used as key to identify it. The provided description will be displayed when it is posted.
This does not create any messages, only creates the instance in the database and can be removed with `deleteAssignableRolePlace`.
A `booster` assignable role place only allows boosting members to receive roles and automatically removes the roles if the member stops boosting.
This does not create any messages: this only creates the instance in the database. Said database instance can be removed with `deleteAssignableRolePlace`.
A `booster` assignable role place only allows boosting members to receive roles. If the member stops boosting the server, the received roles will be automatically removed.

View File

@@ -1 +1 @@
Defines the type of this assignable role place. Possible values `default` and `booster`.
Defines the type of this assignable role place. Possible values are `default` and `booster`.

View File

@@ -1 +1 @@
You have not boosted - this is a booster only assignable role place.
You have not boosted the server - this is a booster only assignable role place.

View File

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

View File

@@ -1 +1 @@
Do you want to delete the alias?
Do you really want to delete the alias?

View File

@@ -1 +1 @@
This command can be used to disable a channel group. How a disabled channel group behaves depends on what kind of channel group it is.
This command can be used to disable a channel group. How a disabled channel group/channel in channel group behaves depends on what kind of channel group it is.

View File

@@ -1,3 +1,3 @@
Post targets can be disabled, which means they will not be used to send any messages to.
Some features can ignore this, and just function normally, some features might require a post target to be enabled in order to function correctly.
While some features can ignore this, and just function normally, some other features might require an enabled post target to function correctly.
Use the `posttarget` command to view the state of each post target.

View File

@@ -1,2 +1,2 @@
Documentation is available in [HTML](https://sheldan.github.io/abstracto-docs/current/) and [PDF](https://sheldan.github.io/abstracto-docs/current/documentation.pdf).
They are also available for older versions via https://sheldan.github.io/abstracto-docs/$VERSION.
Older versions are available via https://sheldan.github.io/abstracto-docs/$VERSION.

View File

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

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