mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-01-10 03:15:17 +00:00
Compare commits
39 Commits
templates-
...
templates-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
34772f520e | ||
|
|
7920044749 | ||
|
|
8957f87006 | ||
|
|
2b5add56f5 | ||
|
|
700a2e1bda | ||
|
|
3d01a6992a | ||
|
|
9fe1a8ec80 | ||
|
|
65057071ed | ||
|
|
f10b7efc8d | ||
|
|
89b0f44ad8 | ||
|
|
21f292dc76 | ||
|
|
0898f2cb9a | ||
|
|
63547f1613 | ||
|
|
cd6e3098f2 | ||
|
|
eea34f3b88 | ||
|
|
e14c0e9a3b | ||
|
|
19d1aff734 | ||
|
|
1566f9025e | ||
|
|
6c9449e4ea | ||
|
|
97ed46c4e6 | ||
|
|
e10bf36a0a | ||
|
|
aeed7b97ae | ||
|
|
d8923adae1 | ||
|
|
4bc06cbb07 | ||
|
|
f7e8fb29f1 | ||
|
|
92f53be054 | ||
|
|
81734391a2 | ||
|
|
ab84d05a26 | ||
|
|
d0d91a0ddd | ||
|
|
68bb56b18b | ||
|
|
5a00f213da | ||
|
|
6dd3b70bb2 | ||
|
|
f0600df517 | ||
|
|
4d52be255f | ||
|
|
6e5ab2f9ae | ||
|
|
2e16457baf | ||
|
|
f778fe8804 | ||
|
|
48ad43a1b0 | ||
|
|
7ee101de79 |
19
.github/workflows/release.yml
vendored
19
.github/workflows/release.yml
vendored
@@ -1,19 +0,0 @@
|
||||
name: Publish package to GitHub Packages
|
||||
on:
|
||||
release:
|
||||
types: [created]
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Set up Java for publishing to GitHub Packages
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 1.8
|
||||
- name: Publish to GitHub Packages
|
||||
run: mvn --file pom.xml -B deploy -Dmaven.wagon.http.pool=false
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
26
.github/workflows/release_manual.yml
vendored
Normal file
26
.github/workflows/release_manual.yml
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
name: Publishes a new version of the templates
|
||||
on: workflow_dispatch
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
ref: master
|
||||
- name: Set up JDK
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'corretto'
|
||||
java-version: 17
|
||||
- name: Release maven packages
|
||||
uses: qcastel/github-actions-maven-release@v1.12.41
|
||||
env:
|
||||
JAVA_HOME: /usr/lib/jvm/java-21-openjdk/
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
git-release-bot-name: "release-bot"
|
||||
git-release-bot-email: "release-bot@sheldan.dev"
|
||||
release-branch-name: master
|
||||
maven-args: "-Dmaven.javadoc.skip=true -s settings.xml -DskipTests"
|
||||
access-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
author_email: "release-bot@sheldan.dev"
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.4.24</version>
|
||||
<version>1.4.34</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.24</version>
|
||||
<version>1.4.34</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.24</version>
|
||||
<version>1.4.34</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>core</artifactId>
|
||||
<version>1.4.24</version>
|
||||
<version>1.4.34</version>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "enableFeature_response_text"/>",
|
||||
"additionalMessage": "<@safe_include "enableFeature_response_text"/><#if validationText?has_content>${validationText}</#if>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.24</version>
|
||||
<version>1.4.34</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.24</version>
|
||||
<version>1.4.34</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
<#assign user=memberDisplay.memberMention>
|
||||
"additionalMessage": "<@safe_include "pressF_join_text"/>"
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
<#assign text=text?json_string>
|
||||
"additionalMessage": "<@safe_include "pressF_response_text"/>",
|
||||
"buttons": [
|
||||
{
|
||||
"emoteMarkdown": "<@safe_include "pressF_response_press_button_emote"/>",
|
||||
"label": "<@safe_include "pressF_response_press_button_label"/>",
|
||||
"id": "${pressFComponentId}",
|
||||
"buttonStyle": "secondary",
|
||||
"metaConfig": {
|
||||
"persistCallback": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
<#assign userCount=userCount>
|
||||
<#assign text=text?json_string>
|
||||
"additionalMessage": "<@safe_include "pressF_result_text"/>"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<#include "already_pressed_f_exception_text">
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.24</version>
|
||||
<version>1.4.34</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>experience-tracking</artifactId>
|
||||
<version>1.4.24</version>
|
||||
<version>1.4.34</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "addLevelAction_response_text"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "removeLevelAction_response_text"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#macro actionDisplay action>
|
||||
<#assign parameters = action.parameters?eval_json>
|
||||
<#assign level=action.level>
|
||||
<#assign actionDescription><@safe_include "showLevelActions_action_${action.actionKey}"/></#assign>
|
||||
<#assign actionKey=action.actionKey/>
|
||||
<#assign actionParameter><@safe_include "showLevelActions_action_${action.actionKey}_config"/></#assign>
|
||||
<#if action.member??>
|
||||
<#assign memberdisplay=action.member.memberMention/>
|
||||
</#if>
|
||||
<@safe_include "showLevelActions_action_description"/>
|
||||
|
||||
</#macro>
|
||||
"description": "<#list actions as action><@actionDisplay action=action/></#list>"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<#include "level_action_not_found_exception_text">
|
||||
@@ -4,7 +4,7 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.24</version>
|
||||
<version>1.4.34</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>giveaway</artifactId>
|
||||
|
||||
36
abstracto-modules/image-generation/pom.xml
Normal file
36
abstracto-modules/image-generation/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">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.34</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>image-generation</artifactId>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>single</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<finalName>image-generation-templates-${project.version}</finalName>
|
||||
<appendAssemblyId>false</appendAssemblyId>
|
||||
<descriptors>
|
||||
<descriptor>src/main/assembly/assembly.xml</descriptor>
|
||||
</descriptors>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
@@ -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 @@
|
||||
{}
|
||||
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -0,0 +1,3 @@
|
||||
<#assign inputText=model.inputText>
|
||||
<#assign errorMessage=model.errorMessage>
|
||||
<#include "amongusText_exception_message"/>
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.4.24</version>
|
||||
<version>1.4.34</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.24</version>
|
||||
<version>1.4.34</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.24</version>
|
||||
<version>1.4.34</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.24</version>
|
||||
<version>1.4.34</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>moderation</artifactId>
|
||||
<version>1.4.24</version>
|
||||
<version>1.4.34</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<#include "honeypot_ban_reason_text">
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.24</version>
|
||||
<version>1.4.34</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>modmail</artifactId>
|
||||
<version>1.4.24</version>
|
||||
<version>1.4.34</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "contact_response_text"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
"additionalMessage": "<@safe_include "contact_response_text"/>"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<#include "modmail_thread_closed_exception_text">
|
||||
@@ -8,13 +8,15 @@
|
||||
},
|
||||
<#include "modmail_color">,
|
||||
<#assign user><@member_user_name member=member/>(${member.user.id})</#assign>
|
||||
"description": "<@safe_include "modmail_notification_message_description"/>",
|
||||
"description": "<@safe_include "modmail_notification_message_description"/>"
|
||||
<#if channel?has_content>,
|
||||
"fields": [
|
||||
{
|
||||
"name": "<@safe_include "modmail_notification_field_title_channel"/>",
|
||||
"value": "${channel.asMention}"
|
||||
}
|
||||
]
|
||||
</#if>
|
||||
}
|
||||
],
|
||||
"messageConfig": {
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates</groupId>
|
||||
<artifactId>templates</artifactId>
|
||||
<version>1.4.24</version>
|
||||
<version>1.4.34</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.24</version>
|
||||
<version>1.4.34</version>
|
||||
|
||||
<modules>
|
||||
<module>core</module>
|
||||
@@ -36,6 +36,8 @@
|
||||
<module>custom-command</module>
|
||||
<module>twitch</module>
|
||||
<module>giveaway</module>
|
||||
<module>image-generation</module>
|
||||
<module>sticky-roles</module>
|
||||
</modules>
|
||||
|
||||
</project>
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.24</version>
|
||||
<version>1.4.34</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.24</version>
|
||||
<version>1.4.34</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.24</version>
|
||||
<version>1.4.34</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.24</version>
|
||||
<version>1.4.34</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.24</version>
|
||||
<version>1.4.34</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>statistic</artifactId>
|
||||
<version>1.4.24</version>
|
||||
<version>1.4.34</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
37
abstracto-modules/sticky-roles/pom.xml
Normal file
37
abstracto-modules/sticky-roles/pom.xml
Normal file
@@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.34</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>sticky-roles</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>sticky-roles-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,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "configureStickyRole_response_text"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#macro stickyRoleDisplay role>
|
||||
${role.roleDisplay.roleMention}: ${role.sticky?string('✅', '❌')}
|
||||
</#macro>
|
||||
"description": "<#list roles as role><@stickyRoleDisplay role=role/></#list>"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "toggleStickiness_response_text"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "toggleStickinessManagement_response_text"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.4.24</version>
|
||||
<version>1.4.34</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<version>1.4.24</version>
|
||||
<version>1.4.34</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.24</version>
|
||||
<version>1.4.34</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>utility</artifactId>
|
||||
<version>1.4.24</version>
|
||||
<version>1.4.34</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>abstracto-modules</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||
<version>1.4.24</version>
|
||||
<version>1.4.34</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.24</version>
|
||||
<version>1.4.34</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#include "abstracto_color">,
|
||||
"title": {
|
||||
"title": "${word?json_string}"
|
||||
},
|
||||
<#macro definitionDisplay definition>
|
||||
<#assign meaning=definition.definition>
|
||||
<#assign hasExample=definition.example?has_content>
|
||||
<#if hasExample>
|
||||
<#assign example=definition.example>
|
||||
</#if>
|
||||
<@safe_include "dictionaryDefinition_response_meaning_display"/>
|
||||
|
||||
|
||||
</#macro>
|
||||
"description": "<#list definitions as definition>${definition?index + 1}: <@definitionDisplay definition=definition /></#list>"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<#include "dictionary_api_request_exception_text">
|
||||
@@ -0,0 +1 @@
|
||||
<#include "no_dictionary_api_definition_found_exception_text">
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#include "abstracto_color">,
|
||||
"title": {
|
||||
"title": "${title?json_string}"
|
||||
},
|
||||
"description": "${summary?json_string}"
|
||||
}
|
||||
],
|
||||
"buttons": [
|
||||
{
|
||||
"label": "<@safe_include "wikipediaArticleSummary_jump_link"/>",
|
||||
"url": "${fullURL?json_string}",
|
||||
"buttonStyle": "link",
|
||||
"metaConfig": {
|
||||
"persistCallback": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<#include "no_wikipedia_article_found_exception_text">
|
||||
@@ -0,0 +1 @@
|
||||
<#include "wikipedia_request_exception_text">
|
||||
11
pom.xml
11
pom.xml
@@ -5,7 +5,7 @@
|
||||
|
||||
<groupId>dev.sheldan.abstracto-templates</groupId>
|
||||
<artifactId>templates</artifactId>
|
||||
<version>1.4.24</version>
|
||||
<version>1.4.34</version>
|
||||
|
||||
<modules>
|
||||
<module>abstracto-modules</module>
|
||||
@@ -21,10 +21,11 @@
|
||||
</distributionManagement>
|
||||
|
||||
<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.24</tag>
|
||||
</scm>
|
||||
<connection>scm:git:${project.scm.url}</connection>
|
||||
<developerConnection>scm:git:${project.scm.url}</developerConnection>
|
||||
<url>https://github.com/Sheldan/abstracto-templates.git</url>
|
||||
<tag>templates-1.4.34</tag>
|
||||
</scm>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
|
||||
19
settings.xml
Normal file
19
settings.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
|
||||
http://maven.apache.org/xsd/settings-1.0.0.xsd">
|
||||
|
||||
<servers>
|
||||
<server>
|
||||
<id>github</id>
|
||||
<configuration>
|
||||
<httpHeaders>
|
||||
<property>
|
||||
<name>Authorization</name>
|
||||
<value>Bearer ${env.GITHUB_TOKEN}</value>
|
||||
</property>
|
||||
</httpHeaders>
|
||||
</configuration>
|
||||
</server>
|
||||
</servers>
|
||||
</settings>
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>translations</artifactId>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<version>1.4.24</version>
|
||||
<version>1.4.34</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.24</version>
|
||||
<version>1.4.34</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.24</version>
|
||||
<version>1.4.34</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>core</artifactId>
|
||||
<version>1.4.24</version>
|
||||
<version>1.4.34</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<artifactId>translations</artifactId>
|
||||
<version>1.4.24</version>
|
||||
<version>1.4.34</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.24</version>
|
||||
<version>1.4.34</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Enables people to press F for something
|
||||
@@ -0,0 +1,2 @@
|
||||
This command creates a message at which people can press F, causing a message on their own.
|
||||
After the optional timeframe is over, the sum of people who pressed F is shown.
|
||||
@@ -0,0 +1 @@
|
||||
The amount of time it should be possible to press F
|
||||
@@ -0,0 +1 @@
|
||||
What to press F for
|
||||
@@ -0,0 +1 @@
|
||||
${user} has paid their respects.
|
||||
@@ -0,0 +1 @@
|
||||
🇫
|
||||
@@ -0,0 +1 @@
|
||||
Please pay respects for `${text}`.
|
||||
@@ -0,0 +1 @@
|
||||
${userCount} people have paid their respects to **${text}**.
|
||||
@@ -0,0 +1 @@
|
||||
Amount of seconds for the pressF command to evaluate. Default: ${defaultValue}
|
||||
@@ -0,0 +1 @@
|
||||
You already paid your respects.
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||
<artifactId>translations</artifactId>
|
||||
<version>1.4.24</version>
|
||||
<version>1.4.34</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<artifactId>experience-tracking</artifactId>
|
||||
<version>1.4.24</version>
|
||||
<version>1.4.34</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Level action has been added.
|
||||
@@ -0,0 +1 @@
|
||||
Adds a action to be executed when a member reaches a level
|
||||
@@ -0,0 +1,7 @@
|
||||
This command configures an pre-defined action to be executed when a member reaches a certain level (or a level above).
|
||||
These actions are pre-defined.
|
||||
The actions available per default:
|
||||
add_member_to_channel_above_level: Adds a member to the provided channel with view channel and write message permissions. The channel can be provided as: ID, mention or name of channel
|
||||
add_role_above_level: Adds the provided role to a member. The role can be provided as. ID, mention or name of role.
|
||||
remove_member_from_channel_above_level: Removes all permission overrides of a member on a channel. The channel can be provided as: ID, mention or name of channel.
|
||||
remove_role_above_level: Removes the provided role to a member. The role can be provided as. ID, mention or name of role.
|
||||
@@ -0,0 +1 @@
|
||||
The action to perform
|
||||
@@ -0,0 +1 @@
|
||||
The level for a member to reach
|
||||
@@ -0,0 +1 @@
|
||||
If provided this will restrict the action to be only executed for this member
|
||||
@@ -0,0 +1 @@
|
||||
Parameters specific to the action to be performed.
|
||||
@@ -0,0 +1 @@
|
||||
Removes a action from the actions to be performed when a member reaches a level
|
||||
@@ -0,0 +1,2 @@
|
||||
This command can be used to remove an action from the actions to be performed when a member reaches a certain level.
|
||||
The action is identified by: action name, level, and optionally the member.
|
||||
@@ -0,0 +1 @@
|
||||
The action to perform
|
||||
@@ -0,0 +1 @@
|
||||
The level for a member to reach
|
||||
@@ -0,0 +1 @@
|
||||
If provided this will restrict the action to be removed to only this member
|
||||
@@ -0,0 +1 @@
|
||||
Level action has been removed.
|
||||
@@ -0,0 +1 @@
|
||||
Shows the current level actions
|
||||
@@ -0,0 +1 @@
|
||||
Shows the current level actions, and the member restrictions (if any)
|
||||
@@ -0,0 +1 @@
|
||||
<#assign channelMention="<#${parameters.channelId?c}>"> Adds member to ${channelMention}
|
||||
@@ -0,0 +1 @@
|
||||
adds a member to a channel once they reach the level
|
||||
@@ -0,0 +1 @@
|
||||
<#assign rolePing="<@&${parameters.roleId?c}>">Adds role ${rolePing}
|
||||
@@ -0,0 +1 @@
|
||||
gives a member a role once they reach the level
|
||||
@@ -0,0 +1 @@
|
||||
Action at level ${level}: ${actionDescription} (`${actionKey}`). ${actionParameter}. <#if memberdisplay??>This is limited to ${memberdisplay}</#if>
|
||||
@@ -0,0 +1 @@
|
||||
<#assign channelMention="<#${parameters.channelId?c}>"> Removes member ${channelMention}
|
||||
@@ -0,0 +1 @@
|
||||
removes the member from a channel once they reach the level
|
||||
@@ -0,0 +1 @@
|
||||
<#assign rolePing="<@&${parameters.roleId?c}>">Removes ${rolePing}
|
||||
@@ -0,0 +1 @@
|
||||
removes a role from a member once they reach the level
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user