Compare commits

..

4 Commits

Author SHA1 Message Date
Sheldan
afb1ec3368 [AB-xxx] updating remind templates for user installable support 2024-07-08 19:20:20 +02:00
Sheldan
8af4609d82 [AB-xxx] removing member author from exceptions 2024-07-08 19:20:20 +02:00
Sheldan
c291ceeb7b [AB-xxx] refactoring avatar template
adding more info and reducing some information from userInfo command
2024-07-08 19:20:20 +02:00
Sheldan
4b68d082a2 [AB-xxx] making user info template able to handle partial members 2024-07-08 19:20:20 +02:00
2351 changed files with 410 additions and 1056 deletions

5
.gitignore vendored
View File

@@ -14,7 +14,12 @@ target/
# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

21
LICENSE
View File

@@ -1,21 +0,0 @@
MIT License
Copyright (c) 2024 Sheldan
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.66-SNAPSHOT</version>
<version>1.4.39-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.66-SNAPSHOT</version>
<version>1.4.39-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.66-SNAPSHOT</version>
<version>1.4.39-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>core</artifactId>
<version>1.4.66-SNAPSHOT</version>
<version>1.4.39-SNAPSHOT</version>
<build>
<plugins>

View File

@@ -1,9 +0,0 @@
{
"embeds": [
{
<#include "abstracto_color">,
<#assign slashCommandPath=slashCommandPath>
"description": "<@safe_include "slash_command_suggestion_text"/>"
}
]
}

View File

@@ -1 +0,0 @@
<@config_value_display entry=configValue/>

View File

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

View File

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

View File

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

View File

@@ -1,30 +0,0 @@
{
"embeds": [
{
"title": {
"title": "<@safe_include "posttarget_embed_title"/>"
},
<#include "success_color">,
"description": "
<#list postTargets as postTarget><#assign postTarget=postTarget/>
<#assign postTargetName>${postTarget.name?json_string}</#assign>
<#assign statusIndicator>${postTarget.disabled?string('❌', '✅')}</#assign>
<#assign channelGroupText="">
<#if postTarget.channelGroup??>
<#assign additionalChannels=postTarget.channelGroup.additionalChannels?map(channel -> channel.channelMention)?join(", ")>
<#assign channelGroupText>${postTarget.channelGroup.name} ${postTarget.channelGroup.disabled?string('❌', '✅')}: ${additionalChannels}</#assign>
</#if>
<#assign channelMention><#if postTarget.channel?has_content>${postTarget.channel.channelMention?json_string}<#else><@safe_include "posttarget_no_channel"/></#if></#assign>
<@safe_include "posttarget_post_target_text"/>
<#if postTarget.channelGroup??>
<@safe_include "posttarget_post_target_channel_group_text"/>
</#if>
<#else>
<@safe_include "posttarget_no_post_targets_found"/>
</#list>
"
}
]
}

View File

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

View File

@@ -1,3 +0,0 @@
<#assign invalidFormat=model.invalidFormat>
<#assign validFormat=model.validFormat>
<#include "input_invalid_format_exception_text">

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