Compare commits

...

105 Commits

Author SHA1 Message Date
release-bot
57981fa939 [maven-release-plugin] prepare release templates-1.4.35 2024-03-17 12:12:48 +00:00
Sheldan
b61046b12f [AB-111] adding templates related to moderation actions 2024-03-17 12:39:32 +01:00
release-bot
5d2559344b [maven-release-plugin] prepare for next development iteration 2024-02-28 20:30:18 +00:00
release-bot
34772f520e [maven-release-plugin] prepare release templates-1.4.34 2024-02-28 20:30:14 +00:00
Sheldan
7920044749 [AB-47] adding templates for level actions feature mode 2024-02-28 21:28:45 +01:00
Sheldan
8957f87006 [AB-xxx] fixing youtube naming 2024-02-19 00:51:42 +01:00
release-bot
2b5add56f5 [maven-release-plugin] prepare for next development iteration 2024-02-18 23:38:00 +00:00
release-bot
700a2e1bda [maven-release-plugin] prepare release templates-1.4.33 2024-02-18 23:37:58 +00:00
Sheldan
3d01a6992a [AB-xxx] adding template for configuration setup step 2024-02-12 22:56:45 +01:00
release-bot
9fe1a8ec80 [maven-release-plugin] prepare for next development iteration 2024-02-09 22:23:02 +00:00
release-bot
65057071ed [maven-release-plugin] prepare release templates-1.4.32 2024-02-09 22:23:00 +00:00
Sheldan
f10b7efc8d [AB-xxx] adding template for configuration setup step 2024-02-09 23:18:22 +01:00
Sheldan
89b0f44ad8 [AB-xxx] removing old release workflow 2024-02-04 20:48:39 +01:00
Sheldan
21f292dc76 [AB-xxx] adding template for honeypotIgnoredLevel system config setup 2024-02-04 20:46:40 +01:00
release-bot
0898f2cb9a [maven-release-plugin] prepare for next development iteration 2024-02-03 17:19:12 +00:00
release-bot
63547f1613 [maven-release-plugin] prepare release templates-1.4.31 2024-02-03 17:19:10 +00:00
Sheldan
cd6e3098f2 [AB-xxx] adding manual release job 2024-02-03 18:18:08 +01:00
Sheldan
eea34f3b88 [AB-xxx] adding manual release job 2024-02-03 18:17:28 +01:00
Sheldan
e14c0e9a3b [AB-xxx] fixing honeypot feature name 2024-02-03 16:26:58 +01:00
Sheldan
19d1aff734 [AB-xxx] adding templates for honeypot feature 2024-02-03 15:57:59 +01:00
Sheldan
1566f9025e [maven-release-plugin] prepare for next development iteration 2024-01-24 08:21:17 +01:00
Sheldan
6c9449e4ea [maven-release-plugin] prepare release templates-1.4.30 2024-01-24 08:21:13 +01:00
Sheldan
97ed46c4e6 [AB-xxx] adding templates for amongusText 2024-01-24 08:19:13 +01:00
Sheldan
e10bf36a0a [maven-release-plugin] prepare for next development iteration 2023-12-28 22:30:25 +01:00
Sheldan
aeed7b97ae [maven-release-plugin] prepare release templates-1.4.29 2023-12-28 22:30:21 +01:00
Sheldan
d8923adae1 [AB-xxx] adding templates for wikipedia and dictionary feature 2023-12-28 22:28:36 +01:00
Sheldan
4bc06cbb07 [AB-xxx] adding templates for modmail closed check 2023-12-28 11:12:30 +01:00
Sheldan
f7e8fb29f1 [maven-release-plugin] prepare for next development iteration 2023-12-26 21:04:19 +01:00
Sheldan
92f53be054 [maven-release-plugin] prepare release templates-1.4.28 2023-12-26 21:04:15 +01:00
Sheldan
81734391a2 [AB-xxx] adding templates for bonk command 2023-12-26 15:42:20 +01:00
Sheldan
ab84d05a26 [AB-xxx] adding templates for pat command 2023-12-26 01:10:23 +01:00
Sheldan
d0d91a0ddd [maven-release-plugin] prepare for next development iteration 2023-12-25 01:08:49 +01:00
Sheldan
68bb56b18b [maven-release-plugin] prepare release templates-1.4.27 2023-12-25 01:08:46 +01:00
Sheldan
5a00f213da [AB-xxx] adding templates necessary for modmail thread support
adding validation message to enableFeature response
2023-12-24 23:25:52 +01:00
Sheldan
6dd3b70bb2 [maven-release-plugin] prepare for next development iteration 2023-12-23 20:50:15 +01:00
Sheldan
f0600df517 [maven-release-plugin] prepare release templates-1.4.26 2023-12-23 20:50:10 +01:00
Sheldan
4d52be255f [AB-70] adding templates for image generation module and triggered command 2023-12-23 20:42:30 +01:00
Sheldan
6e5ab2f9ae [maven-release-plugin] prepare for next development iteration 2023-12-12 19:18:33 +01:00
Sheldan
2e16457baf [maven-release-plugin] prepare release templates-1.4.25 2023-12-12 19:18:28 +01:00
Sheldan
f778fe8804 [AB-63] adding templates for pressF command 2023-12-11 01:21:49 +01:00
Sheldan
48ad43a1b0 [AB-xxx] fixing versions after release 2023-12-11 01:20:43 +01:00
Sheldan
7ee101de79 [maven-release-plugin] prepare for next development iteration 2023-12-10 14:31:37 +01:00
Sheldan
dee05ccc88 [maven-release-plugin] prepare release templates-1.4.24 2023-12-10 14:31:33 +01:00
Sheldan
b1594b6a20 [AB-30] adding giveaway feature 2023-12-10 14:27:18 +01:00
Sheldan
b88046493b [AB-xxx] fixing suggestion update message 2023-11-19 01:18:13 +01:00
Sheldan
7256e72dbc [maven-release-plugin] prepare for next development iteration 2023-10-23 01:27:21 +02:00
Sheldan
6f9a055886 [maven-release-plugin] prepare release templates-1.4.23 2023-10-23 01:27:12 +02:00
Sheldan
8a2ae1c492 [AB-82] changing templates for command cooldown exceptions to use discord timestamps 2023-10-04 23:33:20 +02:00
Sheldan
c0a0bf23ff [maven-release-plugin] prepare for next development iteration 2023-09-26 22:53:46 +02:00
Sheldan
351325abe3 [maven-release-plugin] prepare release templates-1.4.22 2023-09-26 22:53:42 +02:00
Sheldan
ff5f56a065 [AB-106] adding deletion duration to ban command
removing banDelete command
updating deletion days to deletion duration
2023-09-26 01:05:08 +02:00
Sheldan
7718a86b14 [AB-xxx] adding information about command availability to help output 2023-09-20 02:01:36 +02:00
Sheldan
2d92a15bf0 [AB-105] migrating to discord usernames 2023-09-19 23:45:00 +02:00
Sheldan
c230455678 [AB-xxx] adding username to ban notification 2023-09-19 13:04:26 +02:00
Sheldan
e5549154e0 [maven-release-plugin] prepare for next development iteration 2023-09-07 23:29:40 +02:00
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
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
520 changed files with 1796 additions and 221 deletions

View File

@@ -1,19 +0,0 @@
name: Publish package to GitHub Packages
on:
release:
types: [created]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Set up Java for publishing to GitHub Packages
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Publish to GitHub Packages
run: mvn --file pom.xml -B deploy -Dmaven.wagon.http.pool=false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

26
.github/workflows/release_manual.yml vendored Normal file
View File

@@ -0,0 +1,26 @@
name: Publishes a new version of the templates
on: workflow_dispatch
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: master
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: 17
- name: Release maven packages
uses: qcastel/github-actions-maven-release@v1.12.41
env:
JAVA_HOME: /usr/lib/jvm/java-21-openjdk/
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
git-release-bot-name: "release-bot"
git-release-bot-email: "release-bot@sheldan.dev"
release-branch-name: master
maven-args: "-Dmaven.javadoc.skip=true -s settings.xml -DskipTests"
access-token: ${{ secrets.GITHUB_TOKEN }}
author_email: "release-bot@sheldan.dev"

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.10</version>
<version>1.4.35</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.10</version>
<version>1.4.35</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.10</version>
<version>1.4.35</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>core</artifactId>
<version>1.4.10</version>
<version>1.4.35</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,4 @@
<#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_user_name member>${member.effectiveName?json_string}<#if member.user.discriminator?number gt 0>#${member.user.discriminator}</#if></#macro>
<#macro member_member_name member><#if member.effectiveName?has_content>${member.effectiveName?json_string}<#else>${member.user.name?json_string}</#if><#if member.user.discriminator?number gt 0>#${member.user.discriminator}</#if></#macro>
<#macro member_display_member_name member><#if member.nickname?has_content>${member.nickname?json_string}<#else>${member.userName?json_string}</#if></#macro>
<#macro member_display_user_name member>${member.userName?json_string}<#if member.discriminator?number gt 0>#${member.discriminator}</#if></#macro>

View File

@@ -1 +1 @@
<#macro user_detail user>${user.name?json_string}#${user.discriminator} (${user.idLong?c})</#macro>
<#macro user_detail user>${user.name?json_string}<#if user.discriminator?number gt 0>#${user.discriminator}</#if> (${user.idLong?c})</#macro>

View File

@@ -1 +1 @@
<#macro user_user_name user>${user.name?json_string}#${user.discriminator}</#macro>
<#macro user_user_name user>${user.name?json_string}<#if user.discriminator?number gt 0>#${user.discriminator}</#if></#macro>

View File

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

View File

@@ -1,5 +1,5 @@
{
"additionalMessage": "<@safe_include "enableFeature_response_text"/>",
"additionalMessage": "<@safe_include "enableFeature_response_text"/><#if validationText?has_content>${validationText}</#if>",
"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

@@ -10,22 +10,32 @@
<#if command.help??>
<#if command.help.templated>
<#if command.slashCommandOnly><@safe_include "help_command_embed_command_slash_command_only"/></#if>
<#if command.messageCommandOnly><@safe_include "help_command_embed_command_message_command_only"/></#if>
<#if !command.slashCommandOnly>
**<@safe_include "help_command_embed_command_usage"/>**: `${usage}`
</#if>
**<@safe_include "help_command_embed_command_detailed_help"/>**: <@safe_include "${command.name}_long_help"/>
<#if command.help.hasExample>
<#if command.help.hasExample && !command.slashCommandOnly>
<@safe_include "help_command_embed_command_example"/>: <@safe_include "${command.name}_example"/>
</#if>
<#else>
<#if command.slashCommandOnly><@safe_include "help_command_embed_command_slash_command_only"/></#if>
<#if command.messageCommandOnly><@safe_include "help_command_embed_command_message_command_only"/></#if>
<#if !command.slashCommandOnly>
**<@safe_include "help_command_embed_command_usage"/>**: `${usage}`
</#if>
**<@safe_include "help_command_embed_command_detailed_help"/>**: ${command.help.longHelp?json_string}
<#if command.help.hasExample>
<#if command.help.hasExample && !command.slashCommandOnly>
<@safe_include "help_command_embed_command_example"/>:${command.help.example?json_string}
</#if>
</#if>
<#if command.aliases?? && command.aliases?size gt 0>
<#if command.aliases?? && command.aliases?size gt 0 && !command.slashCommandOnly>
<@safe_include "help_command_embed_command_aliases"/>: `${command.aliases?join("`, `")?json_string}`
</#if>
<#if serverSpecificAliases?size gt 0>
<#if serverSpecificAliases?size gt 0 && !command.slashCommandOnly>
<@safe_include "help_command_embed_command_server_aliases"/>: `${serverSpecificAliases?join("`, `")?json_string}`
</#if>
<#if cooldowns??>

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

@@ -1,3 +1,4 @@
<#assign executeIn>${fmtDuration(model.reason.executeIn)}</#assign>
<#include "format_instant">
<#assign executeIn><@format_instant_relative instant=model.reason.executeAt/></#assign>
<#assign reason>${model.reason.reason}</#assign>
<#include "command_cool_down_detail_text">

View File

@@ -1,3 +1,4 @@
<#include "user_user_name">
{
"embeds": [
{
@@ -7,7 +8,7 @@
<#else>
"author":
{
"name": "${fullUser.user.name?json_string}#${fullUser.user.discriminator}",
"name": "<@user_user_name user=fullUser.user/>",
"avatar": "${fullUser.user.effectiveAvatarUrl}"
},
</#if>

View File

@@ -3,7 +3,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.10</version>
<version>1.4.35</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.10</version>
<version>1.4.35</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -0,0 +1,4 @@
{
<#assign user=memberDisplay.memberMention>
"additionalMessage": "<@safe_include "pressF_join_text"/>"
}

View File

@@ -0,0 +1,15 @@
{
<#assign text=text?json_string>
"additionalMessage": "<@safe_include "pressF_response_text"/>",
"buttons": [
{
"emoteMarkdown": "<@safe_include "pressF_response_press_button_emote"/>",
"label": "<@safe_include "pressF_response_press_button_label"/>",
"id": "${pressFComponentId}",
"buttonStyle": "secondary",
"metaConfig": {
"persistCallback": false
}
}
]
}

View File

@@ -0,0 +1,5 @@
{
<#assign userCount=userCount>
<#assign text=text?json_string>
"additionalMessage": "<@safe_include "pressF_result_text"/>"
}

View File

@@ -0,0 +1 @@
<#include "already_pressed_f_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.10</version>
<version>1.4.35</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>experience-tracking</artifactId>
<version>1.4.10</version>
<version>1.4.35</version>
<build>
<plugins>
<plugin>

View File

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

View File

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

View File

@@ -32,7 +32,7 @@
},
{
"name": "<@safe_include "rank_level_progress_field_title"/>",
"value": "${inLevelExperience} <#list 1..currentLevelPercentage/10?floor as cent>🔹</#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}",
"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

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

View File

@@ -0,0 +1,19 @@
{
"embeds": [
{
<#macro actionDisplay action>
<#assign parameters = action.parameters?eval_json>
<#assign level=action.level>
<#assign actionDescription><@safe_include "showLevelActions_action_${action.actionKey}"/></#assign>
<#assign actionKey=action.actionKey/>
<#assign actionParameter><@safe_include "showLevelActions_action_${action.actionKey}_config"/></#assign>
<#if action.member??>
<#assign memberdisplay=action.member.memberMention/>
</#if>
<@safe_include "showLevelActions_action_description"/>
</#macro>
"description": "<#list actions as action><@actionDisplay action=action/></#list>"
}
]
}

View File

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

View File

@@ -0,0 +1,35 @@
<?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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.35</version>
</parent>
<artifactId>giveaway</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>giveaway-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 "cancelGiveaway_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,35 @@
<#include "format_instant">
{
"embeds": [
{
"title": {
<#assign title=title?json_string>
<#assign id=giveawayId?json_string>
"title": "<@safe_include "giveaway_post_embed_title"/>"
},
<#include "abstracto_color">,
<#if description?has_content><#assign description=description?json_string></#if>
<#assign endDate><@format_instant_relative instant=targetDate/></#assign>
<#assign host=creator.memberMention/>
<#if benefactor?has_content><#assign benefactor=benefactor.memberMention/></#if>
<#assign memberMentions><#list winners as winner>${winner.memberMention}<#sep>,<#else><@safe_include "giveaway_result_no_winner"/></#list></#assign>
<#assign cancelled=cancelled>
<#assign entries=joinedUserCount>
<#assign ended=ended>
<#assign winnerCount=winnerCount>
"description": "<@safe_include "giveaway_post_embed_description"/>"
}
]
<#if !cancelled && !ended>,
"buttons": [
{
"label": "<@safe_include "giveaway_post_join_button_label"/>",
"id": "${joinComponentId}",
"buttonStyle": "secondary",
"metaConfig": {
"persistCallback": false
}
}
]
</#if>
}

View File

@@ -0,0 +1,7 @@
{
<#assign winnerCount=winners?size>
<#assign memberMentions><#list winners as winner>${winner.memberMention}<#sep>,</#list></#assign>
<#assign prize=title>
"additionalMessage": "<#if winnerCount gt 0><@safe_include "giveaway_result_text"/><#else><@safe_include "giveaway_result_no_winner"/></#if>",
"referencedMessageId": "${messageId?c}"
}

View File

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

View File

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

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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.35</version>
</parent>
<artifactId>image-generation</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>image-generation-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,3 @@
<#assign inputText=model.inputText>
<#assign errorMessage=model.errorMessage>
<#include "amongusText_exception_message"/>

View File

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

View File

@@ -18,4 +18,17 @@
]
}
]
<#if moderationActionComponents?size gt 0>,
"buttons": [
<#list moderationActionComponents as moderactionAction>
{
"label": "<@safe_include "moderation_action_${moderactionAction.action}_button_label"/>",
"id": "${moderactionAction.componentId}",
"buttonStyle": "danger",
"metaConfig": {
"persistCallback": false
}
}<#sep>,</#list>
]
</#if>
}

View File

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

View File

@@ -1,7 +1,7 @@
{
"embeds": [
{
<#assign user>${member.user.name}#${member.user.discriminator} (${member.asMention}: ${member.id})</#assign>
<#assign user>${member.user.name} (${member.asMention}: ${member.id})</#assign>
"description": "<@safe_include "user_joined_text"/>",
<#include "abstracto_color"/>
}

View File

@@ -1,7 +1,8 @@
{
"embeds": [
{
<#assign user>${user.name}#${user.discriminator} (${user.id})</#assign>
<#include "user_detail">
<#assign user><@user_detail user=user/></#assign>
"description": "<@safe_include "user_left_text"/>",
<#include "abstracto_color"/>
}

View File

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

View File

@@ -1,8 +1,6 @@
{
"embeds": [
{
<#include "user_detail">
<#include "full_member_info">
"title": {
"title": "<@safe_include "ban_log_title"/>"
},
@@ -10,27 +8,21 @@
"fields": [
{
"name": "<@safe_include "ban_log_banned_user_field_title"/>",
"value": "<@user_detail user=bannedUser/>"
"value": "${bannedUser.userMention}"
},
{
"name": "<@safe_include "ban_log_banning_user_field_title"/>",
"value": "<@full_member_info member=banningMember/>"
"value": "${banningMember.memberMention}"
},
<#if commandMessage?has_content>
{
"name": "<@safe_include "ban_log_jump_link_field_title"/>",
"value": "[${commandMessage.channel.name?json_string}](${commandMessage.jumpUrl})"
},
</#if>
{
"name": "<@safe_include "ban_log_reason_field_title"/>",
"value": "${reason?json_string}"
}
<#if deletionDays gt 0>
<#if deletionDuration?has_content>
,
{
"name": "<@safe_include "ban_log_deletion_days_field_title"/>",
"value": "${deletionDays?c}"
"name": "<@safe_include "ban_log_deletion_duration_field_title"/>",
"value": "${fmtDuration(deletionDuration)}"
}
</#if>
]

View File

@@ -1,9 +1,6 @@
{
"embeds": [
{
<#include "full_member_info">
<#include "member_author">
<@member_author member=kickedUser/>,
"title": {
"title": "<@safe_include "kick_log_title"/>"
},
@@ -11,18 +8,12 @@
"fields": [
{
"name": "<@safe_include "kick_log_kicked_user_field_title"/>",
"value": "<@full_member_info member=kickedUser/>"
"value": "${kickedMember.memberMention}"
},
{
"name": "<@safe_include "kick_log_kicking_user_field_title"/>",
"value": "<@full_member_info member=member/>"
"value": "${kickingMember.memberMention}"
},
<#if messsage?has_content>
{
"name": "<@safe_include "kick_log_jump_link_field_title"/>",
"value": "[${channel.name?json_string}](${message.jumpUrl})"
},
</#if>
{
"name": "<@safe_include "kick_log_reason_field_title"/>",
"value": "${reason?json_string}"

View File

@@ -1,10 +1,7 @@
<#include "full_member_info">
<#include "format_instant">
<#include "member_author">
{
"embeds": [
{
<@member_author member=mutedUser/>,
"title": {
<#if durationChanged>
"title": "<@safe_include "mute_log_title_mute_changed"/>"
@@ -13,13 +10,12 @@
<#elseif muted>
"title": "<@safe_include "mute_log_title_muted"/>"
</#if>
},
<#include "moderation_action_color">,
"fields": [
{
"name": "<@safe_include "mute_log_muted_user_field_title"/>",
"value": "<@full_member_info member=mutedUser/>"
"value": "${mutedUser.memberMention}"
},
<#if mutingUser?has_content>
{
@@ -28,7 +24,7 @@
<#elseif muteEnded>
"name": "<@safe_include "mute_log_unmuting_user_field_title"/>",
</#if>
"value": "<@full_member_info member=mutingUser/>"
"value": "${mutingUser.memberMention}"
}
</#if>
<#if reason?has_content>,
@@ -40,7 +36,7 @@
<#if muted && !durationChanged>,
{
"name": "<@safe_include "mute_log_mute_duration_field_title"/>",
"value": "${fmtDuration(muteDuration)}"
"value": "${fmtDuration(duration)}"
},
{
"name": "<@safe_include "mute_log_muted_until_field_title"/>",

View File

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

View File

@@ -1,8 +1,6 @@
{
"embeds": [
{
<#include "user_detail">
<#include "full_member_info">
"title": {
"title": "<@safe_include "unBan_log_title"/>"
},
@@ -10,11 +8,11 @@
"fields": [
{
"name": "<@safe_include "unBan_log_un_banned_user_field_title"/>",
"value": "<@user_detail user=bannedUser/>"
"value": "${bannedUser.userMention}"
},
{
"name": "<@safe_include "unBan_log_un_banning_user_field_title"/>",
"value": "<@full_member_info member=unBanningMember/>"
"value": "${unBanningMember.memberMention}"
}
]
}

View File

@@ -1,9 +1,6 @@
{
"embeds": [
{
<#include "full_member_info">
<#include "member_author">
<@member_author member=warnedMember/>,
"title": {
"title": "<@safe_include "warn_log_title"/>"
},
@@ -11,18 +8,12 @@
"fields": [
{
"name": "<@safe_include "warn_log_warned_user_field_title"/>",
"value": "<@full_member_info member=warnedMember/>"
"value": "${warnedMember.memberMention}"
},
<#if member?has_content>
<#if warningMember?has_content>
{
"name": "<@safe_include "warn_log_warning_user_field_title"/>",
"value": "<@full_member_info member=member/>"
},
</#if>
<#if message?has_content>
{
"name": "<@safe_include "warn_log_warn_location_field_title"/>",
"value": "[${channel.name?json_string}](${message.jumpUrl})"
"value": "${warningMember.memberMention}"
},
</#if>
{

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 @@
<#include "honeypot_ban_reason_text">

View File

@@ -0,0 +1,24 @@
{
"id": "${modalId}",
"title": "<@safe_include "moderationAction_ban_modal_title"/>",
"textInputs": [
{
"placeHolder": "<@safe_include "moderationAction_ban_modal_reason_placeholder"/>",
"id": "${reasonComponentId}",
"position": 1,
"label": "<@safe_include "moderationAction_ban_modal_reason_label"/>",
"style": "paragraph",
"maxLength": 2000,
"required": false
},
{
"placeHolder": "<@safe_include "moderationAction_ban_modal_duration_placeholder"/>",
"id": "${durationComponentId}",
"position": 2,
"label": "<@safe_include "moderationAction_ban_modal_duration_label"/>",
"style": "short",
"maxLength": 50,
"required": false
}
]
}

View File

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

View File

@@ -0,0 +1,15 @@
{
"id": "${modalId}",
"title": "<@safe_include "moderationAction_kick_modal_title"/>",
"textInputs": [
{
"placeHolder": "<@safe_include "moderationAction_kick_modal_reason_placeholder"/>",
"id": "${reasonComponentId}",
"position": 1,
"label": "<@safe_include "moderationAction_kick_modal_reason_label"/>",
"style": "paragraph",
"maxLength": 2000,
"required": false
}
]
}

View File

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

View File

@@ -0,0 +1,24 @@
{
"id": "${modalId}",
"title": "<@safe_include "moderationAction_mute_modal_title"/>",
"textInputs": [
{
"placeHolder": "<@safe_include "moderationAction_mute_modal_reason_placeholder"/>",
"id": "${reasonComponentId}",
"position": 1,
"label": "<@safe_include "moderationAction_mute_modal_reason_label"/>",
"style": "paragraph",
"maxLength": 2000,
"required": false
},
{
"placeHolder": "<@safe_include "moderationAction_mute_modal_duration_placeholder"/>",
"id": "${durationComponentId}",
"position": 2,
"label": "<@safe_include "moderationAction_mute_modal_duration_label"/>",
"style": "short",
"maxLength": 50,
"required": false
}
]
}

View File

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

View File

@@ -0,0 +1,15 @@
{
"id": "${modalId}",
"title": "<@safe_include "moderationAction_warn_modal_title"/>",
"textInputs": [
{
"placeHolder": "<@safe_include "moderationAction_warn_modal_reason_placeholder"/>",
"id": "${reasonComponentId}",
"position": 1,
"label": "<@safe_include "moderationAction_warn_modal_reason_label"/>",
"style": "paragraph",
"maxLength": 2000,
"required": false
}
]
}

View File

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

View File

@@ -33,5 +33,15 @@
"persistCallback": false
}
}
<#if moderationActionComponents?size gt 0>,</#if>
<#list moderationActionComponents as moderactionAction>
{
"label": "<@safe_include "moderation_action_${moderactionAction.action}_button_label"/>",
"id": "${moderactionAction.componentId}",
"buttonStyle": "danger",
"metaConfig": {
"persistCallback": false
}
}<#sep>,</#list>
]
}

View File

@@ -3,6 +3,7 @@
{
<#include "user_detail">
<#include "abstracto_color">,
<#assign bannedUserName=bannedUser.name>
"description" : "<@safe_include "userBanned_description"/>",
"fields": [
{

View File

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

View File

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

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

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

View File

@@ -8,13 +8,15 @@
},
<#include "modmail_color">,
<#assign user><@member_user_name member=member/>(${member.user.id})</#assign>
"description": "<@safe_include "modmail_notification_message_description"/>",
"description": "<@safe_include "modmail_notification_message_description"/>"
<#if channel?has_content>,
"fields": [
{
"name": "<@safe_include "modmail_notification_field_title_channel"/>",
"value": "${channel.asMention}"
}
]
</#if>
}
],
"messageConfig": {

View File

@@ -4,14 +4,14 @@
<parent>
<groupId>dev.sheldan.abstracto-templates</groupId>
<artifactId>templates</artifactId>
<version>1.4.10</version>
<version>1.4.35</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.10</version>
<version>1.4.35</version>
<modules>
<module>core</module>
@@ -34,6 +34,10 @@
<module>voice-channel-context</module>
<module>anti-raid</module>
<module>custom-command</module>
<module>twitch</module>
<module>giveaway</module>
<module>image-generation</module>
<module>sticky-roles</module>
</modules>
</project>

View File

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

View File

@@ -28,4 +28,17 @@
]
}
]
<#if moderationActionComponents?size gt 0>,
"buttons": [
<#list moderationActionComponents as moderactionAction>
{
"label": "<@safe_include "moderation_action_${moderactionAction.action}_button_label"/>",
"id": "${moderactionAction.componentId}",
"buttonStyle": "danger",
"metaConfig": {
"persistCallback": false
}
}<#sep>,</#list>
]
</#if>
}

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.10</version>
<version>1.4.35</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.10</version>
<version>1.4.35</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.10</version>
<version>1.4.35</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.10</version>
<version>1.4.35</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>statistic</artifactId>
<version>1.4.10</version>
<version>1.4.35</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>"
}
]
}

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