mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-01-02 15:56:33 +00:00
Compare commits
62 Commits
templates-
...
templates-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
62e6d50b12 | ||
|
|
c8f2ebe7d7 | ||
|
|
5a63f0a8de | ||
|
|
4810352160 | ||
|
|
ee4a39f871 | ||
|
|
4a80d0ca71 | ||
|
|
7e99db3733 | ||
|
|
9373b07c8a | ||
|
|
af436715f5 | ||
|
|
4f8c4d0062 | ||
|
|
7300dccfc7 | ||
|
|
892de1bcd3 | ||
|
|
993d5a2873 | ||
|
|
d9f65184e7 | ||
|
|
4e963d6767 | ||
|
|
a3d125b67d | ||
|
|
c6aa854aa3 | ||
|
|
318b41ae3d | ||
|
|
e05f774500 | ||
|
|
b6a2dd2da7 | ||
|
|
1b8717a5aa | ||
|
|
4bcc4260d1 | ||
|
|
fcadb4260b | ||
|
|
dba30f80f2 | ||
|
|
acb65e49b2 | ||
|
|
f934f1d2f9 | ||
|
|
a6b57310e3 | ||
|
|
e4eb86da33 | ||
|
|
28c26cf966 | ||
|
|
0e220001ed | ||
|
|
e9adccb06a | ||
|
|
36d9996c02 | ||
|
|
54e12e3d0a | ||
|
|
801bdddac9 | ||
|
|
6b60228313 | ||
|
|
70e6b76e7b | ||
|
|
0bc7105b62 | ||
|
|
3eb08360ec | ||
|
|
1089292fd7 | ||
|
|
c419ea3928 | ||
|
|
646225d46a | ||
|
|
43a91d974b | ||
|
|
e4eba1e726 | ||
|
|
95b9b3ba3b | ||
|
|
50d5954d6b | ||
|
|
a6cc2931d0 | ||
|
|
c03514873e | ||
|
|
471d171da6 | ||
|
|
67d64af318 | ||
|
|
3e76d39f58 | ||
|
|
88ea5c8e17 | ||
|
|
f273bd0872 | ||
|
|
3b471e2daf | ||
|
|
6a187c9016 | ||
|
|
95cba127b8 | ||
|
|
1dfb6e2517 | ||
|
|
1f5336728a | ||
|
|
5ec86f0647 | ||
|
|
c020e9353f | ||
|
|
319850ff39 | ||
|
|
34e255b87a | ||
|
|
71870a4a98 |
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.4.3</version>
|
||||
<version>1.4.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.4.3</version>
|
||||
<version>1.4.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.3</version>
|
||||
<version>1.4.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>core</artifactId>
|
||||
<version>1.4.3</version>
|
||||
<version>1.4.18</version>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
"additionalMessage": "<@safe_include "getCustomTemplate_response_embed_text"/>",
|
||||
"files": [
|
||||
{
|
||||
"fileName": "${templateKey}.ftl"
|
||||
"fileName": "${templateKey}.ftl",
|
||||
"fileContent": "${templateContent?json_string}"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -3,7 +3,8 @@
|
||||
"additionalMessage": "<@safe_include "getTemplate_response_embed_text"/>",
|
||||
"files": [
|
||||
{
|
||||
"fileName": "${templateKey}.ftl"
|
||||
"fileName": "${templateKey}.ftl",
|
||||
"fileContent": "${templateContent?json_string}"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.3</version>
|
||||
<version>1.4.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.4.3</version>
|
||||
<version>1.4.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
{
|
||||
<#assign totalMines=mineCount>
|
||||
<#assign userLost=state.name() == "LOST">
|
||||
<#assign userWon=state.name() == "WON">
|
||||
<#assign ended=userLost || userWon>
|
||||
<#if creditsEnabled>
|
||||
<#assign changedCreditAmount=creditChange/>
|
||||
<#assign creditAmount=credits/>
|
||||
<#assign stateText><#if state.name() == "WON"><#include "mines_state_won_credits"><#elseif state.name() == "LOST"><#include "mines_state_lost_credits"><#else><#include "mines_state_continue_credits"></#if></#assign>
|
||||
<#else>
|
||||
<#assign stateText><#if state.name() == "WON"><#include "mines_state_won"><#elseif state.name() == "LOST"><#include "mines_state_lost"><#else><#include "mines_state_continue"></#if></#assign>
|
||||
</#if>
|
||||
"additionalMessage": "<@safe_include "mines_additional_message"/>",
|
||||
"buttons": [
|
||||
<#list rows as row>
|
||||
<#list row.fields as field>
|
||||
{
|
||||
<#if ended>
|
||||
<#assign label><#if field.counterValue != 0>${field.counterValue}<#elseif field.type.name() == "EXPLODED">💀<#elseif field.type.name() == "MINE">💣<#elseif field.type.name() == "UNCOVERED">o</#if></#assign>
|
||||
<#else>
|
||||
<#assign label><#if field.type.name() == "COVERED" || field.type.name() == "MINE">x<#elseif field.counterValue != 0>${field.counterValue}<#else>o</#if></#assign>
|
||||
</#if>
|
||||
"label": "${label}",
|
||||
"id": "${boardId}_${field.x}_${field.y}",
|
||||
"buttonStyle": "secondary",
|
||||
<#if ended>"disabled": true,</#if>
|
||||
"metaConfig": {
|
||||
"persistCallback": false
|
||||
<#if field?is_first>
|
||||
,"forceNewRow": true
|
||||
</#if>
|
||||
}
|
||||
}
|
||||
<#sep>,
|
||||
</#list>
|
||||
<#sep>,
|
||||
</#list>
|
||||
]
|
||||
}
|
||||
@@ -1,4 +1,7 @@
|
||||
{
|
||||
<#assign sourceUser=sourceMember.memberMention/>
|
||||
<#assign targetUser=targetMember.memberMention/>
|
||||
<#assign creditsCount=credits/>
|
||||
"additionalMessage": "<@safe_include "transferCredits_response_text"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": false
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
<#assign minRatio>${model.minMinesRatio * 100}</#assign>
|
||||
<#include "invalid_mine_board_config_exception_text">
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.3</version>
|
||||
<version>1.4.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>experience-tracking</artifactId>
|
||||
<version>1.4.3</version>
|
||||
<version>1.4.18</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "expLevelUpNotification_response_text"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
<#assign userMention=memberDisplay.memberMention>
|
||||
<#assign pastLevel=oldLevel>
|
||||
<#assign currentLevel=newLevel>
|
||||
"additionalMessage": "<@safe_include "experience_level_up_notification_text"/>"
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.4.3</version>
|
||||
<version>1.4.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.4.3</version>
|
||||
<version>1.4.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
</#list>
|
||||
",
|
||||
</#if>
|
||||
<#if embeddedMessage.attachments?size gt 0>
|
||||
<#if embeddedMessage.attachments?size gt 0 && !embeddedMessage.attachments[0].spoiler>
|
||||
"imageUrl": "${embeddedMessage.attachments[0].proxyUrl}",
|
||||
<#elseif embeddedMessage.attachments?size = 0 && embeddedMessage.embeds?size gt 0 && embeddedMessage.embeds[0].cachedThumbnail??>
|
||||
"imageUrl": "${embeddedMessage.embeds[0].cachedThumbnail.proxyUrl}",
|
||||
@@ -58,6 +58,9 @@
|
||||
}
|
||||
]
|
||||
</#if>
|
||||
<#if embeddedMessage.attachments?size gt 0 && embeddedMessage.attachments[0].spoiler>
|
||||
,"additionalMessage": "||${embeddedMessage.attachments[0].proxyUrl?json_string}||"
|
||||
</#if>
|
||||
<#if referencedMessageId?has_content && mentionsReferencedMessage?has_content>
|
||||
,"referencedMessageId": "${referencedMessageId?c}",
|
||||
"messageConfig": {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.3</version>
|
||||
<version>1.4.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.3</version>
|
||||
<version>1.4.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>moderation</artifactId>
|
||||
<version>1.4.3</version>
|
||||
<version>1.4.18</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "reactionReport_failure_response_text"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.3</version>
|
||||
<version>1.4.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>modmail</artifactId>
|
||||
<version>1.4.3</version>
|
||||
<version>1.4.18</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -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": [
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates</groupId>
|
||||
<artifactId>templates</artifactId>
|
||||
<version>1.4.3</version>
|
||||
<version>1.4.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.3</version>
|
||||
<version>1.4.18</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>
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.3</version>
|
||||
<version>1.4.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.4.3</version>
|
||||
<version>1.4.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<#include "format_instant">
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
@@ -6,6 +7,7 @@
|
||||
<#include "member_avatar">
|
||||
<@member_display_author member=memberDisplay/>,
|
||||
<#include "abstracto_color">,
|
||||
<#assign reminderTargetDate><@format_instant_date_time instant=reminder.targetDate/></#assign>
|
||||
<#if message?has_content>
|
||||
<#assign messageUrl>${message.jumpUrl}</#assign>
|
||||
"description": "<@safe_include "remind_reminding_description_text"/>"
|
||||
|
||||
@@ -14,10 +14,12 @@
|
||||
"fields": [
|
||||
<#list reminders as reminderDisplay><#assign reminderDisplay=reminderDisplay/>
|
||||
{
|
||||
<#assign id>${reminderDisplay.reminder.id}</#assign>
|
||||
<#assign reminderTargetDate><@format_instant_date_time instant=reminderDisplay.reminder.targetDate/></#assign>
|
||||
<#assign reminderText=reminderDisplay.reminder.text/>
|
||||
<#assign id>${reminderDisplay.id}</#assign>
|
||||
<#assign reminderTargetDate><@format_instant_date_time instant=reminderDisplay.targetDate/></#assign>
|
||||
<#assign reminderText=reminderDisplay.text/>
|
||||
<#assign messageLink=reminderDisplay.message.jumpUrl/>
|
||||
<#assign joined=reminderDisplay.joined/>
|
||||
<#assign joinedText><#if joined><@safe_include "reminder_joined_text"/></#if></#assign>
|
||||
"name": "<@safe_include "reminders_reminder_field_title"/>",
|
||||
"value": "<@safe_include "reminders_due_on"/>"
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.4.3</version>
|
||||
<version>1.4.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.4.3</version>
|
||||
<version>1.4.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.3</version>
|
||||
<version>1.4.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>statistic</artifactId>
|
||||
<version>1.4.3</version>
|
||||
<version>1.4.18</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -1 +1 @@
|
||||
emote_stats_${guild.id}.csv
|
||||
emote_stats_${serverId}.csv
|
||||
@@ -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"/>"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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>"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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>"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.4.3</version>
|
||||
<version>1.4.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "cancelPoll_response_text"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "closePoll_response_text"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -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}"
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "poll_add_option_notification_message"/>",
|
||||
"messageConfig" : {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "poll_decision_notification_message"/>",
|
||||
"messageConfig" : {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -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}"
|
||||
}
|
||||
@@ -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>
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "poll_server_response_text"/>"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "poll_quick_decision_notification_message"/>",
|
||||
"messageConfig" : {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -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}"
|
||||
}
|
||||
@@ -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>
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
<#include "format_instant">
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
@@ -7,7 +8,10 @@
|
||||
<#assign user><@user_user_name user=suggester/></#assign>
|
||||
<#include "abstracto_color">,
|
||||
<#assign id>${suggestionId}</#assign>
|
||||
"description": "${text?json_string}",
|
||||
<#if autoEvaluationEnabled>
|
||||
<#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>
|
||||
"imageUrl": "${attachmentURL}",
|
||||
</#if>
|
||||
@@ -21,6 +25,7 @@
|
||||
{
|
||||
"label": "<@safe_include "suggest_button_agree_label"/>",
|
||||
"id": "${agreeButtonModel.buttonId}",
|
||||
"emoteMarkdown" : "👍",
|
||||
"buttonStyle": "success",
|
||||
"metaConfig": {
|
||||
"persistCallback": false
|
||||
@@ -30,6 +35,7 @@
|
||||
"label": "<@safe_include "suggest_button_disagree_label"/>",
|
||||
"id": "${disAgreeButtonModel.buttonId}",
|
||||
"buttonStyle": "danger",
|
||||
"emoteMarkdown" : "👎",
|
||||
"metaConfig": {
|
||||
"persistCallback": false
|
||||
}
|
||||
@@ -38,6 +44,7 @@
|
||||
"label": "<@safe_include "suggest_button_reset_vote_label"/>",
|
||||
"id": "${removeVoteButtonModel.buttonId}",
|
||||
"buttonStyle": "secondary",
|
||||
"emoteMarkdown" : "↩️",
|
||||
"metaConfig": {
|
||||
"persistCallback": false
|
||||
}
|
||||
|
||||
@@ -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}",
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<#include "poll_cancellation_not_possible_exception_text">
|
||||
@@ -0,0 +1 @@
|
||||
<#include "poll_option_already_exists_exception_text">
|
||||
36
abstracto-modules/twitch/pom.xml
Normal file
36
abstracto-modules/twitch/pom.xml
Normal 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.18</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>
|
||||
15
abstracto-modules/twitch/src/main/assembly/assembly.xml
Normal file
15
abstracto-modules/twitch/src/main/assembly/assembly.xml
Normal 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>
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "addTwitchStreamer_response_description"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "changeTwitchStreamer_response_description"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#include "twitch_color">,
|
||||
"description": "<#list streamers as streamer>
|
||||
<#assign streamer=streamer>
|
||||
<#assign name=streamer.name>
|
||||
<#assign targetChannel=streamer.targetChannel.channelMention>
|
||||
<#assign showNotificationsDisplay>${streamer.showNotifications?string('✅', '❌')}</#assign>
|
||||
<#assign streamerURL=streamer.streamerURL>
|
||||
<#include "listTwitchStreamer_response_streamer_display"><#sep>
|
||||
</#list>"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "removeTwitchStreamer_response_description"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<#include "streamer_already_exists_in_server_exception_message">
|
||||
@@ -0,0 +1 @@
|
||||
<#include "streamer_not_exists_exception_message">
|
||||
@@ -0,0 +1 @@
|
||||
<#include "streamer_not_exists_in_server_exception_message">
|
||||
@@ -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}"
|
||||
}
|
||||
],
|
||||
"messageConfig": {
|
||||
"allowsRoleMention": true
|
||||
},
|
||||
"buttons": [
|
||||
{
|
||||
"label": "<@safe_include "twitch_streamer_go_live_notification_watch_button"/>",
|
||||
"url": "${streamURL?json_string}",
|
||||
"buttonStyle": "link",
|
||||
"metaConfig": {
|
||||
"persistCallback": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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>
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.3</version>
|
||||
<version>1.4.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>utility</artifactId>
|
||||
<version>1.4.3</version>
|
||||
<version>1.4.18</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.4.3</version>
|
||||
<version>1.4.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.4.3</version>
|
||||
<version>1.4.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"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 humidity??>
|
||||
<#if temperature??>,</#if>
|
||||
{
|
||||
"name": "<@safe_include "openWeatherMap_command_response_field_humidity_field_title"/>",
|
||||
"value": "${humidity}%",
|
||||
"inline": "true"
|
||||
}
|
||||
</#if>
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<#include "no_weather_location_found_exception_text">
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"additionalMessage": "https://threadreaderapp.com/thread/${tweetId?c}.html"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<#include "no_twitter_link_found_exception_text">
|
||||
4
pom.xml
4
pom.xml
@@ -5,7 +5,7 @@
|
||||
|
||||
<groupId>dev.sheldan.abstracto-templates</groupId>
|
||||
<artifactId>templates</artifactId>
|
||||
<version>1.4.3</version>
|
||||
<version>1.4.18</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.3</tag>
|
||||
<tag>templates-1.4.18</tag>
|
||||
</scm>
|
||||
|
||||
<repositories>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>translations</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<version>1.4.3</version>
|
||||
<version>1.4.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -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}
|
||||
@@ -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}
|
||||
@@ -1 +1 @@
|
||||
${memberMention} was muted for mentioning ${mentionCount} members.
|
||||
${memberMention} has been muted for mentioning ${mentionCount} members.
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>translations</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<version>1.4.3</version>
|
||||
<version>1.4.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -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.
|
||||
@@ -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`.
|
||||
@@ -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.
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<artifactId>translations</artifactId>
|
||||
<version>1.4.3</version>
|
||||
<version>1.4.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>core</artifactId>
|
||||
<version>1.4.3</version>
|
||||
<version>1.4.18</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -1 +1 @@
|
||||
Do you want to delete the alias?
|
||||
Do you really want to delete the alias?
|
||||
@@ -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.
|
||||
@@ -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.
|
||||
@@ -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.
|
||||
@@ -1 +1 @@
|
||||
This command can be used to enable a channel group. How a disabled channel group behaves depends on what kind of channel group it is.
|
||||
This command can be used to enable a channel group. How a disabled channel group/channel in channel group behaves depends on what kind of channel group it is.
|
||||
@@ -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.
|
||||
@@ -1 +1 @@
|
||||
The feature to enable the feature mode for.
|
||||
The feature to show the feature modes for
|
||||
@@ -1 +1 @@
|
||||
Channel has been removed from channel group.
|
||||
Channel has been removed from the channel group.
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<artifactId>translations</artifactId>
|
||||
<version>1.4.3</version>
|
||||
<version>1.4.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>translations</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<version>1.4.3</version>
|
||||
<version>1.4.18</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Play a game of to find mines in a field
|
||||
@@ -0,0 +1,5 @@
|
||||
You can create a minefield with at most 5x5 dimensions and a custom amount of mines.
|
||||
If you reveal a field which is not a mine, you will either uncover all adjacent free fields or show a number how many files are adjacent.
|
||||
If you reveal all fields (by clicking) which are no mines, you win!
|
||||
If economy is enabled, you have the ability to put some credits on the line, and potentially win a multiple of it.
|
||||
The result of the winnings depend on how many fields you managed to uncover, how many fields and mines there were in total (the more of both, the more credits) and if you completely uncovered the field.
|
||||
@@ -0,0 +1 @@
|
||||
How many credits you want to put on the line
|
||||
@@ -0,0 +1 @@
|
||||
Amount of rows of the field
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user