mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-01-03 08:19:50 +00:00
Compare commits
22 Commits
templates-
...
templates-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5ec86f0647 | ||
|
|
c020e9353f | ||
|
|
319850ff39 | ||
|
|
34e255b87a | ||
|
|
71870a4a98 | ||
|
|
049e5b0a1c | ||
|
|
1241571048 | ||
|
|
f6ed141328 | ||
|
|
d58633803c | ||
|
|
8a1c2a595f | ||
|
|
42e17c2251 | ||
|
|
dc268ac643 | ||
|
|
5da19ef286 | ||
|
|
e392219f4c | ||
|
|
379d633b22 | ||
|
|
67ed830920 | ||
|
|
0e9071945d | ||
|
|
34fbf8aea1 | ||
|
|
bd72f93e1f | ||
|
|
a41045e5fd | ||
|
|
a8f256827c | ||
|
|
388bea7859 |
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.4.0.RC1</version>
|
||||
<version>1.4.4</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.0.RC1</version>
|
||||
<version>1.4.4</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.0.RC1</version>
|
||||
<version>1.4.4</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>core</artifactId>
|
||||
<version>1.4.0.RC1</version>
|
||||
<version>1.4.4</version>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
<#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>
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<#macro member_display_avatar member><#if member.memberAvatarUrl?has_content>${member.memberAvatarUrl?json_string}<#else>${member.userAvatarUrl?json_string}</#if></#macro>
|
||||
@@ -1 +1,2 @@
|
||||
<#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>
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
"description": "
|
||||
<#list effects as effect>
|
||||
`${effect}` <@safe_include "effect_type_${effect}_description"/>
|
||||
<#else><#include "showEffects_response_no_effects">
|
||||
</#list>
|
||||
"
|
||||
}
|
||||
|
||||
35
abstracto-modules/custom-command/pom.xml
Normal file
35
abstracto-modules/custom-command/pom.xml
Normal 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">
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.4</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>custom-command</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<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>custom-command-templates-${project.version}</finalName>
|
||||
<appendAssemblyId>false</appendAssemblyId>
|
||||
<descriptors>
|
||||
<descriptor>src/main/assembly/assembly.xml</descriptor>
|
||||
</descriptors>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
@@ -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,3 @@
|
||||
{
|
||||
"additionalMessage": "${additionalText?json_string}"
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.4.0.RC1</version>
|
||||
<version>1.4.4</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#include "abstracto_color">,
|
||||
<#assign rolls=rolls?join(", ")>
|
||||
<#assign uniqueNumbers=uniqueNumbers>
|
||||
<#assign bid=bid>
|
||||
<#assign toBank=toBank>
|
||||
<#assign toJackpot=toJackpot>
|
||||
<#assign currentJackpot=currentJackpot>
|
||||
<#assign won=won>
|
||||
<#if won>
|
||||
"description": "<@safe_include "creditGamble_response_win_text.ftl"/>"
|
||||
<#else>
|
||||
"description": "<@safe_include "creditGamble_response_text"/>"
|
||||
</#if>
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
<#assign credits=entry.credits>
|
||||
<#assign rank=entry.rank>
|
||||
<#assign userId=entry.memberDisplay.userId>
|
||||
<#assign memberDisplay><#if entry.member?has_content><@member_user_name member=entry.member/><#else>${userId?c}</#if></#assign>
|
||||
#${rank} - ${credits} credits - ${memberDisplay}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#include "abstracto_color">,
|
||||
"description": "<#list entries as entry><#assign entry=entry><@safe_include "creditLeaderboard_rank_entry"/>\n</#list>
|
||||
<#assign entry=ownRank><@safe_include "creditLeaderboard_rank_entry"/>"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
"description": "<#include "creditLeaderboard_no_user_found">"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#include "abstracto_color">,
|
||||
<#assign credits=entry.credits>
|
||||
<#assign rank=entry.rank>
|
||||
<#assign userId=entry.memberDisplay.userId>
|
||||
<#assign memberDisplay><#if entry.member?has_content><@member_user_name member=entry.member/><#else>${userId?c}</#if></#assign>
|
||||
"description": "<@safe_include "credits_response_description"/>"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#include "abstracto_color">,
|
||||
<#assign currentCredits=currentCredits>
|
||||
<#assign rank=leaderboardPosition>
|
||||
<#assign gainedCredits=gainedCredits>
|
||||
"description": "<@safe_include "payday_response_text"/>"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
<#list rows as row><#assign row=row>
|
||||
<#if row?index = 1>><#else> </#if><#list row as item><#assign item=item>${item}</#list>
|
||||
</#list>
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
<#assign newCredits=newCredits>
|
||||
<#assign bid=bid>
|
||||
<#assign oldCredits=oldCredits>
|
||||
<#assign winnings><#if winnings gt 0>${winnings}<#else>0</#if></#assign>
|
||||
<#assign factor=factor>
|
||||
<#assign rows=rows>
|
||||
<#assign outcomeKey=outComeKey>
|
||||
<#assign board><#include "slots_board_display"/></#assign>
|
||||
"additionalMessage": "~~\n~~<@safe_include "slots_outcome_description"/>"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "transferCredits_response_text"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<#include "not_enough_wealth_exception_text">
|
||||
@@ -0,0 +1,2 @@
|
||||
<#assign retryDuration>${fmtDuration(model.tryAgainDuration)}</#assign>
|
||||
<#include "payday_cooldown_exception_text">
|
||||
@@ -0,0 +1,2 @@
|
||||
<#assign retryDuration>${fmtDuration(model.tryAgainDuration)}</#assign>
|
||||
<#include "payday_cooldown_exception_text">
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.0.RC1</version>
|
||||
<version>1.4.4</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>experience-tracking</artifactId>
|
||||
<version>1.4.0.RC1</version>
|
||||
<version>1.4.4</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.4.0.RC1</version>
|
||||
<version>1.4.4</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.0.RC1</version>
|
||||
<version>1.4.4</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.0.RC1</version>
|
||||
<version>1.4.4</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.0.RC1</version>
|
||||
<version>1.4.4</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>moderation</artifactId>
|
||||
<version>1.4.0.RC1</version>
|
||||
<version>1.4.4</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "editInfraction_response_text"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
<#assign exitOnly=innerModel.entries?size lt 5/>
|
||||
"embedConfigs": [
|
||||
<#assign chunks=innerModel.entries?chunk(4)>
|
||||
<#list chunks as row><#assign counter=row?index><#assign row=row><#include "infractions_response_entry"><#sep>,</#list>
|
||||
],
|
||||
"timeoutSeconds": 120,
|
||||
"restrictUser": true
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
<#include "format_instant">
|
||||
<#assign decayed=infraction.decayed/>
|
||||
<#assign infractionId=infraction.infractionId/>
|
||||
<#assign type=infraction.type/>
|
||||
<#assign reason=infraction.reason/>
|
||||
<#assign infractionUserText><#if infraction.infractionUser.memberMention??>${infraction.infractionUser.memberMention}(${infraction.infractionUser.userId?c})<#else>${infraction.infractionUser.userId?c}</#if></#assign>
|
||||
<#assign infractionCreatorUserText><#if infraction.infractionCreationUser.memberMention??>${infraction.infractionCreationUser.memberMention}(${infraction.infractionCreationUser.userId?c})<#else>${infraction.infractionCreationUser.userId?c}</#if></#assign>
|
||||
<#assign infractionDate><@format_instant_date_time instant=infraction.creationDate/></#assign>
|
||||
<#assign parameterText><#list infraction.parameters?keys as key><@safe_include "infraction_parameter_${type}_${key}_label"/>: ${infraction.parameters[key]}</#list></#assign>
|
||||
<#include "infractions_infraction_entry_text">
|
||||
|
||||
<#if decayed>
|
||||
<#assign decayDate><@format_instant_date_time instant=infraction.decayDate/></#assign>
|
||||
<#include "infractions_infraction_is_decayed">
|
||||
</#if>
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#include "moderation_action_color">,
|
||||
"description": "<@safe_include "infractions_no_infractions_found_text"/>"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
"description": "<#list row as infraction><#assign infraction=infraction><@safe_include "infractions_infraction_entry"/>\n</#list>"
|
||||
}
|
||||
],
|
||||
"buttons": [
|
||||
<#include "paginator_buttons">
|
||||
]
|
||||
}
|
||||
@@ -6,7 +6,14 @@
|
||||
{
|
||||
<@member_author member=mutedUser/>,
|
||||
"title": {
|
||||
"title": "<@safe_include "mute_log_title"/>"
|
||||
<#if durationChanged>
|
||||
"title": "<@safe_include "mute_log_title_mute_changed"/>"
|
||||
<#elseif muteEnded>
|
||||
"title": "<@safe_include "mute_log_title_unmuted"/>"
|
||||
<#elseif muted>
|
||||
"title": "<@safe_include "mute_log_title_muted"/>"
|
||||
</#if>
|
||||
|
||||
},
|
||||
<#include "moderation_action_color">,
|
||||
"fields": [
|
||||
@@ -14,20 +21,23 @@
|
||||
"name": "<@safe_include "mute_log_muted_user_field_title"/>",
|
||||
"value": "<@full_member_info member=mutedUser/>"
|
||||
},
|
||||
<#if mutingUser?has_content>
|
||||
{
|
||||
"name": "<@safe_include "mute_log_muting_user_field_title"/>",
|
||||
<#if muted>
|
||||
"name": "<@safe_include "mute_log_muting_user_field_title"/>",
|
||||
<#elseif muteEnded>
|
||||
"name": "<@safe_include "mute_log_unmuting_user_field_title"/>",
|
||||
</#if>
|
||||
"value": "<@full_member_info member=mutingUser/>"
|
||||
},
|
||||
<#if message?has_content>
|
||||
{
|
||||
"name": "<@safe_include "mute_log_mute_location_field_title"/>",
|
||||
"value": "[${contextChannel.name?json_string}](${message.jumpUrl})"
|
||||
},
|
||||
}
|
||||
</#if>
|
||||
<#if reason?has_content>,
|
||||
{
|
||||
"name": "<@safe_include "mute_log_mute_reason_field_title"/>",
|
||||
"value": "${reason?json_string}"
|
||||
},
|
||||
}
|
||||
</#if>
|
||||
<#if muted && !durationChanged>,
|
||||
{
|
||||
"name": "<@safe_include "mute_log_mute_duration_field_title"/>",
|
||||
"value": "${fmtDuration(muteDuration)}"
|
||||
@@ -36,11 +46,18 @@
|
||||
"name": "<@safe_include "mute_log_muted_until_field_title"/>",
|
||||
"value": "<@format_instant_date_time instant=muteTargetDate/>"
|
||||
}
|
||||
],
|
||||
"footer": {
|
||||
"text": "<@safe_include "mute_log_mute_id_footer"/>"
|
||||
},
|
||||
"timeStamp": "${muteDate}"
|
||||
</#if>
|
||||
<#if durationChanged>,
|
||||
{
|
||||
"name": "<@safe_include "mute_log_new_mute_time_field_title"/>",
|
||||
"value": "<@format_instant_date_time instant=muteTargetDate/>"
|
||||
},
|
||||
{
|
||||
"name": "<@safe_include "mute_log_old_mute_time_field_title"/>",
|
||||
"value": "<@format_instant_date_time instant=oldMuteTargetDate/>"
|
||||
}
|
||||
</#if>
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,57 +0,0 @@
|
||||
<#include "full_member_info">
|
||||
<#include "format_instant">
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#if unMutedUser?has_content>
|
||||
<#include "member_author">
|
||||
<@member_author member=unMutedUser/>,
|
||||
</#if>
|
||||
"title": {
|
||||
"title": "<@safe_include "unMute_log_title"/>"
|
||||
},
|
||||
<#include "moderation_action_color">,
|
||||
"fields": [
|
||||
{
|
||||
"name": "<@safe_include "unMute_log_unmuted_user_field_title"/>",
|
||||
<#if unMutedUser?has_content>
|
||||
"value": "<@full_member_info member=unMutedUser/>"
|
||||
<#else>
|
||||
"value": "<@safe_include "user_left_server"/> (${mute.mutedUser.userReference.id?c})"
|
||||
</#if>
|
||||
},
|
||||
{
|
||||
"name": "<@safe_include "mute_log_muting_user_field_title"/>",
|
||||
<#if mutingUser?has_content>
|
||||
"value": "<@full_member_info member=mutingUser/>"
|
||||
<#else>
|
||||
"value": "<@safe_include "user_left_server"/> (${mute.mutingUser.userReference.id?c})"
|
||||
</#if>
|
||||
},
|
||||
<#if messageUrl??>
|
||||
{
|
||||
"name": "<@safe_include "mute_log_mute_location_field_title"/>",
|
||||
"value": "[Link](${messageUrl})"
|
||||
},
|
||||
</#if>
|
||||
{
|
||||
"name": "<@safe_include "unMute_log_muted_since_field_title"/>",
|
||||
"value": "<@format_instant_date_time instant=mute.muteDate/>"
|
||||
},
|
||||
{
|
||||
"name": "<@safe_include "mute_log_mute_duration_field_title"/>",
|
||||
"value": "${fmtDuration(muteDuration)}"
|
||||
},
|
||||
{
|
||||
"name": "<@safe_include "mute_log_mute_reason_field_title"/>",
|
||||
"value": "${mute.reason?json_string}"
|
||||
}
|
||||
],
|
||||
"footer": {
|
||||
<#assign muteId=mute.muteId.id/>
|
||||
"text": "<@safe_include "mute_log_mute_id_footer"/>"
|
||||
},
|
||||
"timeStamp": "${unmuteDate}"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
<#include "mute_role_has_not_been_setup_exception_text">
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "reactionReport_cooldown_response_text"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"id": "${modalId}",
|
||||
"title": "<@safe_include "reactionReport_modal_title"/>",
|
||||
"textInputs": [
|
||||
{
|
||||
"placeHolder": "<@safe_include "reactionReport_modal_context_placeholder"/>",
|
||||
"id": "${inputComponentId}",
|
||||
"position": 1,
|
||||
"label": "<@safe_include "reactionReport_modal_context_label"/>",
|
||||
"style": "paragraph",
|
||||
"maxLength": 2000,
|
||||
"required": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -3,13 +3,35 @@
|
||||
{
|
||||
<#include "abstracto_color">,
|
||||
<#assign messageLink=reportedMessage.messageUrl>
|
||||
"description" : "<@safe_include "reactionReport_notification_embed_description"/>",
|
||||
"fields": [
|
||||
<#assign userMention>${reportedMessage.author.asMention}</#assign>
|
||||
<#assign messageContent><#if reportedMessage.content?has_content>`${reportedMessage.content?json_string}`<#else><@safe_include "reactionReport_no_content"/></#if></#assign>
|
||||
"description" : "<#if context?has_content><@safe_include "reactionReport_additional_context_label"/>: `${context?json_string}`</#if>
|
||||
<@safe_include "reactionReport_notification_embed_description"/>"
|
||||
<#if reportedMessage.attachments?size gt 0>
|
||||
,"imageUrl": "${reportedMessage.attachments[0].proxyUrl}"
|
||||
<#elseif reportedMessage.attachments?size = 0 && reportedMessage.embeds?size gt 0 && reportedMessage.embeds[0].cachedThumbnail??>
|
||||
,"imageUrl": "${reportedMessage.embeds[0].cachedThumbnail.proxyUrl}"
|
||||
<#elseif reportedMessage.attachments?size = 0 && reportedMessage.embeds?size gt 0 && reportedMessage.embeds[0].cachedImageInfo??>
|
||||
,"imageUrl": "${reportedMessage.embeds[0].cachedImageInfo.proxyUrl}"
|
||||
</#if>
|
||||
<#if singularMessage>
|
||||
,"fields": [
|
||||
{
|
||||
"name": "<@safe_include "reactionReport_notification_embed_report_counter_field_title"/>",
|
||||
"value": "${reportCount}"
|
||||
}
|
||||
]
|
||||
</#if>
|
||||
}
|
||||
],
|
||||
"buttons": [
|
||||
{
|
||||
"label": "<@safe_include "reactionReport_jump_button_label"/>",
|
||||
"url": "${messageLink?json_string}",
|
||||
"buttonStyle": "link",
|
||||
"metaConfig": {
|
||||
"persistCallback": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "reactionReport_own_message_response_text"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "reactionReport_response_text"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -7,7 +7,7 @@
|
||||
},
|
||||
<#include "moderation_action_color">,
|
||||
"description": "<#list warnings as warning><#assign warning=warning/>
|
||||
<#if warning.warnedMember??><#assign warnedUser>${warning.warnedMember.asMention?json_string} (${warning.warnedMember.idLong?c})</#assign><#else><#assign warnedUser> ${warning.warnedUser.userId?c}</#assign></#if> <#if warning.warningMember??><#assign warningUser> ${warning.warningMember.asMention?json_string} (${warning.warningMember.idLong?c})</#assign><#else><#assign warningUser>${warning.warningUser.warningUser.userId?c}</#assign></#if> <#assign warnDate><@format_instant_date_time instant=warning.warning.warnDate/></#assign><#assign warnReason=warning.warning.reason/> <@safe_include "warnDecay_log_warn_entry"/>
|
||||
<#if warning.warnedMember??><#assign warnedUser>${warning.warnedMember.asMention?json_string} (${warning.warnedMember.idLong?c})</#assign><#else><#assign warnedUser> ${warning.warnedUser.userId?c}</#assign></#if> <#if warning.warningMember??><#assign warningUser> ${warning.warningMember.asMention?json_string} (${warning.warningMember.idLong?c})</#assign><#else><#assign warningUser>${warning.warningUser.userId?c}</#assign></#if> <#assign warnDate><@format_instant_date_time instant=warning.warning.warnDate/></#assign><#assign warnReason=warning.warning.reason/> <@safe_include "warnDecay_log_warn_entry"/>
|
||||
<#else>
|
||||
<@safe_include "warnDecay_log_no_warnings"/>
|
||||
</#list>"
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.0.RC1</version>
|
||||
<version>1.4.4</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>modmail</artifactId>
|
||||
<version>1.4.0.RC1</version>
|
||||
<version>1.4.4</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates</groupId>
|
||||
<artifactId>templates</artifactId>
|
||||
<version>1.4.0.RC1</version>
|
||||
<version>1.4.4</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.0.RC1</version>
|
||||
<version>1.4.4</version>
|
||||
|
||||
<modules>
|
||||
<module>core</module>
|
||||
@@ -33,6 +33,7 @@
|
||||
<module>profanity-filter</module>
|
||||
<module>voice-channel-context</module>
|
||||
<module>anti-raid</module>
|
||||
<module>custom-command</module>
|
||||
</modules>
|
||||
|
||||
</project>
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.0.RC1</version>
|
||||
<version>1.4.4</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.0.RC1</version>
|
||||
<version>1.4.4</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#include "abstracto_color">,
|
||||
"metaConfig" : {
|
||||
"preventEmptyEmbed": "true"
|
||||
},
|
||||
"description": "
|
||||
<#if failedToJoin>
|
||||
<@safe_include "remind_reminder_join_failed"/>
|
||||
<#elseif selfJoin>
|
||||
<@safe_include "remind_reminder_self_join"/>
|
||||
<#else>
|
||||
<#if joined>
|
||||
<#include "format_instant">
|
||||
<#assign targetDate><@format_instant_date_time instant=reminderDate/></#assign>
|
||||
<@safe_include "remind_reminder_joined"/>
|
||||
<#else>
|
||||
<@safe_include "remind_reminder_left"/>
|
||||
</#if>
|
||||
</#if>"
|
||||
}
|
||||
],
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -2,7 +2,8 @@
|
||||
"embeds": [
|
||||
{
|
||||
<#include "member_author">
|
||||
<@member_author member=member/>,
|
||||
<#include "member_avatar">
|
||||
<@member_display_author member=memberNameDisplay/>,
|
||||
<#include "abstracto_color">,
|
||||
"description": "<@safe_include "remind_reminder_description"/>",
|
||||
"fields": [
|
||||
@@ -21,5 +22,9 @@
|
||||
]
|
||||
}
|
||||
],
|
||||
"additionalMessage": "${member.asMention?json_string} 🔔"
|
||||
<#assign participantsMentions><#list reminderParticipants as participant>${participant.memberMention}<#sep>, </#list></#assign>
|
||||
"additionalMessage": "${memberNameDisplay.memberMention?json_string} 🔔
|
||||
|
||||
${participantsMentions}
|
||||
"
|
||||
}
|
||||
@@ -1,18 +1,32 @@
|
||||
<#include "format_instant">
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#assign id>${reminder.id}</#assign>
|
||||
<#include "member_author">
|
||||
<@member_author member=member/>,
|
||||
<#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"/>"
|
||||
<#else>
|
||||
<#assign reminderText=remindText?json_string>
|
||||
"description": "<@safe_include "remind_reminding_description_slash_text"/>"
|
||||
</#if>
|
||||
|
||||
}
|
||||
],
|
||||
"additionalMessage": "${member.asMention?json_string}"
|
||||
"additionalMessage": "${memberDisplay.memberMention?json_string}",
|
||||
"buttons": [
|
||||
{
|
||||
"label": "<@safe_include "remind_reminder_join_button_label"/>",
|
||||
"id": "${joinButtonId}",
|
||||
"buttonStyle": "secondary",
|
||||
"metaConfig": {
|
||||
"persistCallback": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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.0.RC1</version>
|
||||
<version>1.4.4</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.0.RC1</version>
|
||||
<version>1.4.4</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.0.RC1</version>
|
||||
<version>1.4.4</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>statistic</artifactId>
|
||||
<version>1.4.0.RC1</version>
|
||||
<version>1.4.4</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"additionalMessage": "<@safe_include "downloadEmoteStats_response_embed_text"/>",
|
||||
"files": [
|
||||
{
|
||||
"filename: "${serverId}-${templateKey}.ftl"
|
||||
"fileName": "${serverId}-emotestats.csv"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.4.0.RC1</version>
|
||||
<version>1.4.4</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.0.RC1</version>
|
||||
<version>1.4.4</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>utility</artifactId>
|
||||
<version>1.4.0.RC1</version>
|
||||
<version>1.4.4</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -3,25 +3,26 @@
|
||||
"embeds": [
|
||||
{
|
||||
<#include "member_author">
|
||||
<@member_author member=memberInfo/>,
|
||||
<#include "member_avatar">
|
||||
<@member_display_author member=memberDisplay/>,
|
||||
<#include "abstracto_color">,
|
||||
"thumbnail": "${memberInfo.user.effectiveAvatarUrl}",
|
||||
"thumbnail": "<@member_display_avatar member=memberDisplay/>",
|
||||
"fields": [
|
||||
{
|
||||
"name": "<@safe_include "userInfo_response_embed_id_field_title"/>",
|
||||
"value": "${memberInfo.user.id}",
|
||||
"value": "${id?c}",
|
||||
"inline": "true"
|
||||
},
|
||||
<#if memberInfo.nickname?has_content>
|
||||
<#if memberDisplay.nickname?has_content>
|
||||
{
|
||||
"name": "<@safe_include "userInfo_response_embed_nickname_field_title"/>",
|
||||
"value": "${memberInfo.nickname?json_string}",
|
||||
"value": "${memberDisplay.nickname?json_string}",
|
||||
"inline": "true"
|
||||
},
|
||||
</#if>
|
||||
{
|
||||
"name": "<@safe_include "userInfo_response_embed_status_field_title"/>",
|
||||
"value": "${memberInfo.onlineStatus.key}",
|
||||
"value": "${onlineStatus?json_string}",
|
||||
"inline": "true"
|
||||
},
|
||||
{
|
||||
@@ -34,11 +35,27 @@
|
||||
"value": "<@format_instant_date_time instant=creationDate/>",
|
||||
"inline": "true"
|
||||
}
|
||||
<#if memberInfo.activities?size gt 0>
|
||||
<#if roles?size gt 0>
|
||||
,
|
||||
{
|
||||
"name": "<@safe_include "userInfo_response_embed_roles_field_title"/>",
|
||||
"value": "<#list roles as role>${role.roleMention?json_string}<#sep>, </#list>",
|
||||
"inline": "true"
|
||||
}
|
||||
</#if>
|
||||
<#if activities?size gt 0>
|
||||
,
|
||||
{
|
||||
"name": "<@safe_include "userInfo_response_embed_activity_field_title"/>",
|
||||
"value": "<#list memberInfo.activities as activity>${activity.type?json_string}<#sep>, </#list>",
|
||||
"value": "<#list activities as activity>${activity?json_string}<#sep>, </#list>",
|
||||
"inline": "true"
|
||||
}
|
||||
</#if>
|
||||
<#if customStatus?has_content || customEmoji?has_content>
|
||||
,
|
||||
{
|
||||
"name": "<@safe_include "userInfo_response_embed_custom_status_field_title"/>",
|
||||
"value": "<#if customEmoji?has_content>${customEmoji?json_string} </#if><#if customStatus?has_content>${customStatus?json_string}</#if>",
|
||||
"inline": "true"
|
||||
}
|
||||
</#if>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.4.0.RC1</version>
|
||||
<version>1.4.4</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.0.RC1</version>
|
||||
<version>1.4.4</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
<#assign httpCode=model.responseCode>
|
||||
<#include "suggest_queries_request_exception_text">
|
||||
4
pom.xml
4
pom.xml
@@ -5,7 +5,7 @@
|
||||
|
||||
<groupId>dev.sheldan.abstracto-templates</groupId>
|
||||
<artifactId>templates</artifactId>
|
||||
<version>1.4.0.RC1</version>
|
||||
<version>1.4.4</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.0.RC1</tag>
|
||||
<tag>templates-1.4.4</tag>
|
||||
</scm>
|
||||
|
||||
<repositories>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>translations</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<version>1.4.0.RC1</version>
|
||||
<version>1.4.4</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.0.RC1</version>
|
||||
<version>1.4.4</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<artifactId>translations</artifactId>
|
||||
<version>1.4.0.RC1</version>
|
||||
<version>1.4.4</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>core</artifactId>
|
||||
<version>1.4.0.RC1</version>
|
||||
<version>1.4.4</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
No effects
|
||||
35
translations/custom-command/pom.xml
Normal file
35
translations/custom-command/pom.xml
Normal 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">
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<artifactId>translations</artifactId>
|
||||
<version>1.4.4</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>custom-command</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<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>custom-command-translations-${project.version}</finalName>
|
||||
<appendAssemblyId>false</appendAssemblyId>
|
||||
<descriptors>
|
||||
<descriptor>src/main/assembly/assembly.xml</descriptor>
|
||||
</descriptors>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
15
translations/custom-command/src/main/assembly/assembly.xml
Normal file
15
translations/custom-command/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 @@
|
||||
Custom command
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>translations</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<version>1.4.0.RC1</version>
|
||||
<version>1.4.4</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
:slot_machine: You bet ${bid}, ${toBank} go to the bank, ${toJackpot} go to the jackpot. :slot_machine:
|
||||
:game_die: You've rolled ${rolls}. :game_die:
|
||||
${uniqueNumbers} unique numbers. Thanks for playing, try again soon. :money_with_wings:
|
||||
The jackpot is now ${currentJackpot}.
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
:slot_machine: You bet ${bid}, ${toBank} go to the bank, ${toJackpot} go to the jackpot. :slot_machine:
|
||||
:game_die: You've rolled ${rolls}. :game_die:
|
||||
${uniqueNumbers} unique numbers. You won!!! :tada::tada:
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
A simple luck based credit game
|
||||
@@ -0,0 +1 @@
|
||||
An implement of https://www.fwwiki.de/index.php/Casino_von_Ferdolien.
|
||||
@@ -0,0 +1 @@
|
||||
No users found.
|
||||
@@ -0,0 +1 @@
|
||||
Shows the leaderboard of the credits in this server
|
||||
@@ -0,0 +1 @@
|
||||
Can be used to show the complete leaderboard of credits in this server.
|
||||
@@ -0,0 +1 @@
|
||||
The page to show
|
||||
@@ -0,0 +1 @@
|
||||
You are #${rank} on this server with ${credits} credits.
|
||||
@@ -0,0 +1 @@
|
||||
Shows your current credits
|
||||
@@ -0,0 +1 @@
|
||||
Shows your current amount of credits
|
||||
@@ -0,0 +1 @@
|
||||
You receive credits on a cooldown with this command
|
||||
@@ -0,0 +1 @@
|
||||
You get to have payday! If you are not on cooldown you will receive credits.
|
||||
@@ -0,0 +1,5 @@
|
||||
Here, take some credits. Enjoy! (+${gainedCredits} credits!)
|
||||
|
||||
You currently have ${currentCredits} credits.
|
||||
|
||||
You are currently #${rank} on the global leaderboard!
|
||||
@@ -1,3 +1,3 @@
|
||||
This command can be used to add reacts representing text to messages. The messages if referenced by replying to the message while executing the command.
|
||||
The bot will try to fix any duplicated characters in the text, and it will try to replace multiple characters, with one reaction (if possible, for example there exists an emote for SOS), but in case the bot is unable to fix the duplicates, an error message is shown. The replacement with multiple characters has precedence over single characters.
|
||||
If the already existing reactions + the reactions which would be created by this command reach the Discord limit of reactions on a message, this command will show an error message and not add any reaction.
|
||||
This command can be used to add reacts, representing text, to messages. The target message is defined by replying a the message while executing the command.
|
||||
The bot will try to fix any duplicated characters in the text, and it will try to replace multiple characters, with one reaction (if possible, for example there exists an emote for SOS), but in case the bot is unable to fix the duplicates, an error message is shown. The replacement with multiple characters takes precedence over single characters.
|
||||
If the already existing reactions and the reactions, which would be created by this command, reach the Discord limit of reactions on a message, this command will show an error message and not add any reaction.
|
||||
@@ -0,0 +1 @@
|
||||
Play slots with your current credits.
|
||||
@@ -0,0 +1 @@
|
||||
You cannot bid more than you currently own, but you can win a multiple of what you bid.
|
||||
@@ -0,0 +1 @@
|
||||
The amount you want to bid
|
||||
@@ -0,0 +1 @@
|
||||
4LC! Your bid has been multiplied * 25!
|
||||
@@ -0,0 +1,5 @@
|
||||
${board}
|
||||
<#include "slots_outcome_${outcomeKey}">
|
||||
|
||||
Your bid: ${bid}
|
||||
${oldCredits} - ${bid} (Your bid) + ${winnings} (Winnings) → ${newCredits}!
|
||||
@@ -0,0 +1 @@
|
||||
JACKPOT! 226! Your bid has been multiplied * 50!
|
||||
@@ -0,0 +1 @@
|
||||
Nothing!
|
||||
@@ -0,0 +1 @@
|
||||
Three cherries! Your bid has been multiplied * 20!
|
||||
@@ -0,0 +1 @@
|
||||
Three symbols! Your bid has been multiplied * 10!
|
||||
@@ -0,0 +1 @@
|
||||
Two cherries! Your bid has been multiplied * 3!
|
||||
@@ -0,0 +1 @@
|
||||
2 6! Your bid has been multiplied * 4!
|
||||
@@ -0,0 +1 @@
|
||||
Two consecutive symbols! Your bid has been multiplied * 2!
|
||||
@@ -0,0 +1 @@
|
||||
Transfers credit to another user
|
||||
@@ -0,0 +1 @@
|
||||
Transfers the given amount to the target user.
|
||||
@@ -0,0 +1 @@
|
||||
The amount you want to transfer.
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user