mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-04-05 09:00:25 +00:00
[AB-77] removing embedded exceptions
adding templates for file parameter adding templates for server specific custom templates
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
<#assign templateKey=templateKey>
|
||||
<#assign serverId=guild.id>
|
||||
<#include "getCustomTemplate_file_name_text">
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
<#assign templateKey=templateKey>
|
||||
"additionalMessage": "<@safe_include "getCustomTemplate_response_embed_text"/>"
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
<#assign templateKey=templateKey>
|
||||
<#include "getTemplate_file_name_text">
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
<#assign templateKey=templateKey>
|
||||
"additionalMessage": "<@safe_include "getTemplate_response_embed_text"/>"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<#include "attachment_not_found_exception_text">
|
||||
@@ -0,0 +1,3 @@
|
||||
<#assign guildName=model.guild.name>
|
||||
<#assign templateKey=model.templateKey>
|
||||
<#include "custom_template_not_found_exception_text">
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "category_not_found_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "channel_already_in_channel_group_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "channel_group_exists_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "channel_group_not_found_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "channel_group_type_not_found_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "channel_not_found_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "channel_not_in_channel_group_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "channel_not_in_guild_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "command_disabled_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "command_not_found_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "command_parameter_validation_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<#include "command_parameter_value_wrong_type_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "config_key_not_found_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "duration_invalid_time_format_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "emote_defined_but_not_usable_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "emote_not_available_in_server_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "emote_not_defined_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "emote_not_found_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "emote_not_found_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "emote_not_usable_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "feature_disabled_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "feature_mode_not_correct_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "feature_mode_not_found_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "feature_not_found_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "feature_setup_no_channel_provided_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
description": "<@safe_include "feature_setup_step_exception">
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "guild_not_found_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "immune_role_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "incorrect_feature_mode_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "incorrect_parameters_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "insufficient_parameters_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "insufficient_role_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "member_not_found_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "no_feature_command_found_exception/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "post_target_not_found_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "post_target_not_valid_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "role_disabled_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "role_not_found_in_db_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "role_not_found_in_guild_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "server_channel_conflict_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "unknown_mention_type_exception"/>"
|
||||
@@ -1 +0,0 @@
|
||||
"description": "<@safe_include "user_in_server_not_found_exception"/>"
|
||||
@@ -0,0 +1 @@
|
||||
<#include "failed_to_set_template_exception_text">
|
||||
@@ -14,7 +14,7 @@
|
||||
<#if template?has_content>
|
||||
<#if template.templateModel?has_content>
|
||||
<#assign model=template.templateModel/>
|
||||
<#include "${template.templateName}_embedded"/>
|
||||
"description": "<@safe_include "${template.templateName}"/>"
|
||||
</#if>
|
||||
<#elseif throwable.localizedMessage?has_content>
|
||||
"description": "${throwable.localizedMessage?js_string}"
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<#include "template_not_found_exception_text">
|
||||
@@ -0,0 +1,3 @@
|
||||
<#assign fileSize=model.fileSize>
|
||||
<#assign fileSizeLimit=model.fileSizeLimit>
|
||||
<#include "emote_stats_download_file_size_too_big_text">
|
||||
Reference in New Issue
Block a user