Compare commits

...

11 Commits

134 changed files with 244 additions and 81 deletions

View File

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

View File

@@ -3,7 +3,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.47</version>
<version>1.4.50</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.47</version>
<version>1.4.50</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.47</version>
<version>1.4.50</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>experience-tracking</artifactId>
<version>1.4.47</version>
<version>1.4.50</version>
<build>
<plugins>
<plugin>

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.47</version>
<version>1.4.50</version>
</parent>
<artifactId>giveaway</artifactId>

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,7 @@
{
"embeds": [
{
"description": "<@safe_include "showGiveawayKeys_no_keys_found_text"/>"
}
]
}

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,15 @@
{
"embeds": [
{
"title": {
<#assign title=title?json_string>
"title": "<@safe_include "giveaway_winner_modmail_notification_title"/>"
},
<#include "abstracto_color">,
<#if description?has_content><#assign description=description?json_string></#if>
<#if benefactor?has_content><#assign benefactor=benefactor.memberMention/></#if>
<#assign key=key/>
"description": "<@safe_include "giveaway_winner_modmail_notification_description"/>"
}
]
}

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.47</version>
<version>1.4.50</version>
</parent>
<artifactId>image-generation</artifactId>

View File

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

View File

@@ -25,7 +25,7 @@
,
{
"name": "<@safe_include "userBanned_field_title_reason"/>",
"value": "${reason}"
"value": "${reason?json_string}"
}
</#if>
]

View File

@@ -20,7 +20,7 @@
,
{
"name": "<@safe_include "userUnBanned_field_title_reason"/>",
"value": "${reason}"
"value": "${reason?json_string}"
}
</#if>
]

View File

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

View File

@@ -4,14 +4,14 @@
<parent>
<groupId>dev.sheldan.abstracto-templates</groupId>
<artifactId>templates</artifactId>
<version>1.4.47</version>
<version>1.4.50</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.47</version>
<version>1.4.50</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.47</version>
<version>1.4.50</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.47</version>
<version>1.4.50</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.47</version>
<version>1.4.50</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.47</version>
<version>1.4.50</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.47</version>
<version>1.4.50</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>statistic</artifactId>
<version>1.4.47</version>
<version>1.4.50</version>
<build>
<plugins>
<plugin>

View File

@@ -0,0 +1,7 @@
{
"embeds": [
{
"description": "<@safe_include "deleteTrackedEmote_response_embed_text"/>"
}
]
}

View File

@@ -0,0 +1,7 @@
{
"embeds": [
{
"description": "<@safe_include "disableEmoteTracking_response_embed_text"/>"
}
]
}

View File

@@ -0,0 +1,7 @@
{
"embeds": [
{
"description": "<@safe_include "purgeEmoteStats_response_embed_text"/>"
}
]
}

View File

@@ -0,0 +1,7 @@
{
"embeds": [
{
"description": "<@safe_include "resetEmoteStats_response_embed_text"/>"
}
]
}

View File

@@ -0,0 +1,7 @@
{
"embeds": [
{
"description": "<@safe_include "trackEmote_response_embed_text"/>"
}
]
}

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.47</version>
<version>1.4.50</version>
</parent>
<artifactId>sticky-roles</artifactId>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.47</version>
<version>1.4.50</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.47</version>
<version>1.4.50</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.47</version>
<version>1.4.50</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>utility</artifactId>
<version>1.4.47</version>
<version>1.4.50</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.47</version>
<version>1.4.50</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.47</version>
<version>1.4.50</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -0,0 +1,11 @@
{
"embeds": [
{
<#assign sourceValue=sourceValue>
<#assign sourceCurrency=sourceCurrency.code>
<#assign targetValue=targetValue>
<#assign targetCurrency=targetCurrency.code>
"description": "<@safe_include "convertCurrency_response_text"/>"
}
]
}

View File

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

View File

@@ -5,7 +5,7 @@
<groupId>dev.sheldan.abstracto-templates</groupId>
<artifactId>templates</artifactId>
<version>1.4.47</version>
<version>1.4.50</version>
<modules>
<module>abstracto-modules</module>
@@ -24,7 +24,7 @@
<connection>scm:git:${project.scm.url}</connection>
<developerConnection>scm:git:${project.scm.url}</developerConnection>
<url>https://github.com/Sheldan/abstracto-templates.git</url>
<tag>templates-1.4.47</tag>
<tag>templates-1.4.50</tag>
</scm>
<repositories>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.4.47</version>
<version>1.4.50</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.47</version>
<version>1.4.50</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.47</version>
<version>1.4.50</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>core</artifactId>
<version>1.4.47</version>
<version>1.4.50</version>
<build>
<plugins>
<plugin>

View File

@@ -3,7 +3,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.47</version>
<version>1.4.50</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.47</version>
<version>1.4.50</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.47</version>
<version>1.4.50</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>experience-tracking</artifactId>
<version>1.4.47</version>
<version>1.4.50</version>
<build>
<plugins>
<plugin>

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.47</version>
<version>1.4.50</version>
</parent>
<artifactId>giveaway</artifactId>

View File

@@ -0,0 +1 @@
Adds a key to the list of giveaway keys

View File

@@ -0,0 +1 @@
Adds a key identified by name and key (and optional description) to the list of keys to be used in the future

View File

@@ -0,0 +1 @@
A description for the key. Will be displayed in the giveaway

View File

@@ -0,0 +1 @@
The name of the item associated with the key

View File

@@ -0,0 +1 @@
Giveaway using a key has been created.

View File

@@ -0,0 +1 @@
Creates a giveaway using a stored key.

View File

@@ -0,0 +1 @@
Shows the current giveaway keys. With an option to also show the already used ones

View File

@@ -0,0 +1 @@
${key.used?string('❌', '✅')} ${key.id} `${key.name}`: `${key.key}` <#if key.description?has_content>${key.description} </#if><#if key.creator?has_content>(created by ${key.creator.memberMention}) </#if><#if key.benefactor?has_content>Donated by: ${key.benefactor.memberMention} </#if><#if key.used && key.winner?has_content>Won by: ${key.winner.memberMention}</#if>

View File

@@ -0,0 +1 @@
The duration for giveaways created for keys. Default: ${defaultValue}

View File

@@ -0,0 +1 @@
Not possible to create a giveaway.

View File

@@ -0,0 +1,5 @@
The key is `${key}`.
Please answer to this message in order to confirm that you received the key.
<#if description?has_content>More details: ${description}. </#if>
<#if benefactor?has_content>It was provided by: ${benefactor}</#if>

View File

@@ -0,0 +1 @@
🎉 Congrats! You won ${title}. 🎉

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.47</version>
<version>1.4.50</version>
</parent>
<artifactId>image-generation</artifactId>

View File

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

View File

@@ -1 +1 @@
You were banned from the server ${serverName} for `${reason}`.
You were banned from the server ${serverName} for `${reason?json_string}`.

View File

@@ -1,2 +1,2 @@
Infraction #${infractionId} with type `${type}` towards user ${infractionUserText} by user ${infractionCreatorUserText} on ${infractionDate}. It is **${decayed?then('decayed', 'active')}**. The reason was: `${reason}`.
Infraction #${infractionId} with type `${type}` towards user ${infractionUserText} by user ${infractionCreatorUserText} on ${infractionDate}. It is **${decayed?then('decayed', 'active')}**. The reason was: `${reason?json_string}`.
${parameterText}

View File

@@ -1 +1 @@
You were kicked from the server ${serverName} for the following reason: ${warning.reason}.
You were kicked from the server ${serverName} for the following reason: ${warning.reason?json_string}.

View File

@@ -1 +1 @@
You were muted on the server ${serverName} for the following reason: ${reason}.
You were muted on the server ${serverName} for the following reason: ${reason?json_string}.

View File

@@ -1,2 +1,2 @@
Mute #${muteId} of user ${mutedUserText} by user ${mutingUserText} on ${muteDate} which lasted ${muteDuration} (Mute ended: ${muteEnded}).
Reason: `${reason}`
Reason: `${reason?json_string}`

View File

@@ -1 +1 @@
You were warned on the server ${serverName} for the following reason: ${reason}.
You were warned on the server ${serverName} for the following reason: ${reason?json_string}.

View File

@@ -1 +1 @@
Warning #${warnId} towards user ${warnedUserText} by user ${warningUserText} on ${warnDate}. It is **${decayed?then('decayed', 'active')}**. The reason was: `${reason}`.
Warning #${warnId} towards user ${warnedUserText} by user ${warningUserText} on ${warnDate}. It is **${decayed?then('decayed', 'active')}**. The reason was: `${reason?json_string}`.

View File

@@ -1 +1 @@
${warnedUser} was warned on ${warnDate} with reason `${warnReason}` by ${warningUser}
${warnedUser} was warned on ${warnDate} with reason `${warnReason?json_string}` by ${warningUser}

View File

@@ -1 +1 @@
Your warning from ${warningDate} with the reason `${reason}` has been decayed. You have ${remainingWarningsCount} remaining active warnings.
Your warning from ${warningDate} with the reason `${reason?json_string}` has been decayed. You have ${remainingWarningsCount} remaining active warnings.

View File

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

View File

@@ -4,14 +4,14 @@
<parent>
<groupId>dev.sheldan.abstracto-templates</groupId>
<artifactId>templates</artifactId>
<version>1.4.47</version>
<version>1.4.50</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.47</version>
<version>1.4.50</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.47</version>
<version>1.4.50</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.47</version>
<version>1.4.50</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.47</version>
<version>1.4.50</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.47</version>
<version>1.4.50</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.47</version>
<version>1.4.50</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>statistic</artifactId>
<version>1.4.47</version>
<version>1.4.50</version>
<build>
<plugins>
<plugin>

View File

@@ -0,0 +1 @@
Which types of emotes to show: Reactions or Messages (if not provided, both)

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