Compare commits

...

13 Commits

111 changed files with 195 additions and 69 deletions

View File

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

View File

@@ -3,7 +3,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.68-SNAPSHOT</version>
<version>1.4.71</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.68-SNAPSHOT</version>
<version>1.4.71</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.68-SNAPSHOT</version>
<version>1.4.71</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>experience-tracking</artifactId>
<version>1.4.68-SNAPSHOT</version>
<version>1.4.71</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.68-SNAPSHOT</version>
<version>1.4.71</version>
</parent>
<artifactId>giveaway</artifactId>

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.68-SNAPSHOT</version>
<version>1.4.71</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.68-SNAPSHOT</version>
<version>1.4.71</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.68-SNAPSHOT</version>
<version>1.4.71</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@@ -37,7 +37,7 @@
</#if>
<#list embeddedMessage.embeds as embed>
<#if embed.description?has_content>
<#if embeddedMessage.content?has_content>,</#if>
<#if hasContent>,</#if>
<#if (embed.cachedImageInfo?has_content && embed.cachedImageInfo.proxyUrl?has_content) || (embed.cachedThumbnail?has_content && embed.cachedThumbnail.proxyUrl?has_content)>
{
<#assign hasContent=true>
@@ -62,6 +62,7 @@
<#assign hasContent=true>
<#elseif (embed.cachedImageInfo?has_content && embed.cachedImageInfo.proxyUrl?has_content && embed.cachedImageInfo.width gt 0)
|| (embed.cachedThumbnail?has_content && embed.cachedThumbnail.proxyUrl?has_content && embed.cachedThumbnail.width gt 0)>
<#if hasContent>,</#if>
<#assign hasContent=true>
{
"type": "mediaGallery",

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,5 @@
<#assign name=quickReply.name/>
<#assign content=quickReply.content/>
<#assign anonymous=quickReply.anonymous/>
<#assign creator=quickReply.creator.memberMention/>
<#include "listQuickReplies_entry_text">

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,7 @@
<#include "format_instant">
{
<#assign lastUpdated><@format_instant_relative instant=updated/></#assign>
<#assign autoCloseTime><#if autoCloseInstant?has_content><@format_instant_relative instant=autoCloseInstant/></#if></#assign>
<#assign threadIsPaused=paused/>
"additionalMessage": "<@safe_include "modmail_thread_reminder_notification_embed_text"/><#if threadIsPaused> <@safe_include "modmail_thread_reminder_notification_paused_text"/></#if><#if autoCloseInstant?has_content> <@safe_include "modmail_thread_reminder_notification_auto_close_text"/></#if>"
}

View File

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

View File

@@ -46,13 +46,15 @@
</#if>
<#list message.embeds as embed>
<#if embed.description?has_content && !((embed.cachedImageInfo?has_content && embed.cachedImageInfo.proxyUrl?has_content) || (embed.cachedThumbnail?has_content && embed.cachedThumbnail.proxyUrl?has_content))>
<#if hasContent>,</#if>
<#assign hasContent=true>
<#if message.content?has_content>,</#if>{
{
"type": "textDisplay",
"content": "${embed.description?json_string}"
}
<#elseif embed.description?has_content && (embed.cachedImageInfo?has_content && embed.cachedImageInfo.proxyUrl?has_content && embed.cachedImageInfo.width gt 0)
|| (embed.cachedThumbnail?has_content && embed.cachedThumbnail.proxyUrl?has_content && embed.cachedThumbnail.width gt 0)>
<#if hasContent>,</#if>
<#assign hasContent=true>
,{
"type": "section",
@@ -69,6 +71,7 @@
}
<#elseif (embed.cachedImageInfo?has_content && embed.cachedImageInfo.proxyUrl?has_content && embed.cachedImageInfo.width gt 0)
|| (embed.cachedThumbnail?has_content && embed.cachedThumbnail.proxyUrl?has_content && embed.cachedThumbnail.width gt 0)>
<#if hasContent>,</#if>
<#assign hasContent=true>
{
"type": "mediaGallery",

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.68-SNAPSHOT</version>
<version>1.4.71</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>statistic</artifactId>
<version>1.4.68-SNAPSHOT</version>
<version>1.4.71</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.68-SNAPSHOT</version>
<version>1.4.71</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.68-SNAPSHOT</version>
<version>1.4.71</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.68-SNAPSHOT</version>
<version>1.4.71</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.68-SNAPSHOT</version>
<version>1.4.71</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>utility</artifactId>
<version>1.4.68-SNAPSHOT</version>
<version>1.4.71</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.68-SNAPSHOT</version>
<version>1.4.71</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.68-SNAPSHOT</version>
<version>1.4.71</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1 @@
Responds with a red GRRR face

View File

@@ -0,0 +1 @@
[USER] Responds with a red GRRR face

View File

@@ -0,0 +1 @@
A red face indicating a GRRR emotion

View File

@@ -0,0 +1 @@
The text to add as the bottom text to the GRRR response

View File

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

View File

@@ -0,0 +1 @@
The channel in which no messages are allowed. Default: ${defaultValue}

View File

@@ -1 +1 @@
The amount of seconds the user can be member of the server to be ignored by the honeypot check. Default: ${defaultValue}
The amount of seconds the user can be member of the server to be ignored by the honeypot role check. Default: ${defaultValue}

View File

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

View File

@@ -0,0 +1,2 @@
Creates a quick reply to be used within modmail context.
This quick reply can be defined as anonymous, but this setting can be overruled when using the quick reply.

View File

@@ -0,0 +1 @@
Whether to send the quick reply anonymous

View File

@@ -0,0 +1 @@
The name to use for the quick reply

View File

@@ -0,0 +1 @@
The response to be used for the quick reply. Multi lines not possible.

View File

@@ -0,0 +1 @@
Do you really want to delete the quick reply?

View File

@@ -0,0 +1 @@
Permanently removes a quick reply from the system

View File

@@ -0,0 +1 @@
The name of the quick reply to remove

View File

@@ -0,0 +1 @@
Uses a paginator to be able to view all the quick replies

View File

@@ -0,0 +1 @@
Quick reply: **${name}** with response `${content}`${anonymous?string(' (anonymously)', '')}.

View File

@@ -0,0 +1 @@
Send a quick reply to the current modmail thread

View File

@@ -0,0 +1,2 @@
This command can be used to send a quick reply to the current modmail thread.
A parameter to overrule the anonymous setting for this particular usage is available.

View File

@@ -0,0 +1 @@
Whether to send the reply anonymous

View File

@@ -0,0 +1 @@
The name of the quick reply to send

View File

@@ -0,0 +1 @@
No quick reply found by that name.

View File

@@ -0,0 +1,2 @@
This command can be used to pause or unpause threads.
A paused thread will not be closed, messages are still possible.

View File

@@ -0,0 +1 @@
Whether to pause or unpause the thread

View File

@@ -0,0 +1 @@
Thread pause state has been updated.

View File

@@ -0,0 +1 @@
This command snoozes the reminders for a modmail thread for a defined period of time.

View File

@@ -0,0 +1 @@
Duration format defining the duration after how much a modmail thread should be closed without activity. Default: `${defaultValue}`

View File

@@ -0,0 +1 @@
Duration format defining the duration after which the moderators should be reminded about the thread. Default: `${defaultValue}`

View File

@@ -0,0 +1 @@
Quick reply already exists.

View File

@@ -0,0 +1 @@
Automatically closed

View File

@@ -0,0 +1 @@
Thread will be closed ${autoCloseTime}, unless there are more messages being sent or the thread is paused.

View File

@@ -0,0 +1 @@
Thread was last updated ${lastUpdated}.

View File

@@ -4,14 +4,14 @@
<parent>
<groupId>dev.sheldan.abstracto-templates</groupId>
<artifactId>templates</artifactId>
<version>1.4.68-SNAPSHOT</version>
<version>1.4.71</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.4.68-SNAPSHOT</version>
<version>1.4.71</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.68-SNAPSHOT</version>
<version>1.4.71</version>
</parent>
<modelVersion>4.0.0</modelVersion>

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