mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-04-14 03:46:00 +00:00
added templates for exceptions and refactored some existing ones
This commit is contained in:
@@ -0,0 +1 @@
|
||||
"description": "<@safe_include "modmail_already_subscribed_exception"/>"
|
||||
@@ -0,0 +1 @@
|
||||
"description": "<@safe_include "modmail_exception_cannot_delete_channel_exception"/>"
|
||||
@@ -0,0 +1 @@
|
||||
"description": "<@safe_include "modmail_cannot_find_modmail_thread_exception"/>"
|
||||
@@ -0,0 +1 @@
|
||||
"description": "<@safe_include "modmail_cannot_message_user_exception"/>"
|
||||
@@ -0,0 +1 @@
|
||||
"description": "<@safe_include "modmail_category_not_setup"/>"
|
||||
@@ -0,0 +1 @@
|
||||
"description": "<@safe_include "modmail_failed_to_create_mod_mail_thread"/>"
|
||||
@@ -0,0 +1 @@
|
||||
"description": "<@safe_include "modmail_no_server_available_exception"/>"
|
||||
@@ -0,0 +1 @@
|
||||
"description": "<@safe_include "modmail_not_in_modmail_thread_exception"/>"
|
||||
@@ -0,0 +1 @@
|
||||
"description": "<@safe_include "modmail_not_subscribed_exception"/>"
|
||||
@@ -0,0 +1 @@
|
||||
"description": "<@safe_include "modmail_post_target_not_defined_exception"/>"
|
||||
@@ -0,0 +1 @@
|
||||
"description": "<@safe_include "setup_category_not_valid_exception"/>"
|
||||
@@ -0,0 +1 @@
|
||||
<#include "modmail_already_subscribed_exception_text">
|
||||
@@ -0,0 +1 @@
|
||||
<#include "modmail_failed_to_create_mod_mail_thread_exception_text">
|
||||
@@ -0,0 +1 @@
|
||||
<#include "modmail_cannot_send_message_to_user_exception_text">
|
||||
@@ -1 +0,0 @@
|
||||
<#assign categoryId>${(error.templateModel['categoryId'])!"0"}</#assign><#include "modmail_category_not_setup_text">
|
||||
@@ -0,0 +1 @@
|
||||
<#assign categoryId=model.categoryId><#include "modmail_category_not_setup_exception_text">
|
||||
@@ -1,12 +0,0 @@
|
||||
{
|
||||
"author": {
|
||||
"name": "${user.member.effectiveName?js_string}",
|
||||
"avatar": "${user.member.user.effectiveAvatarUrl}"
|
||||
},
|
||||
"color" : {
|
||||
"r": 200,
|
||||
"g": 0,
|
||||
"b": 255
|
||||
},
|
||||
"description": "<@safe_include "close_failed_to_delete_text_channel"/>"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
"<#include "modmail_close_failed_to_delete_text_channel_exception_text"/>"
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"author": {
|
||||
"name": "${user.member.effectiveName?js_string}",
|
||||
"avatar": "${user.member.user.effectiveAvatarUrl}"
|
||||
},
|
||||
<#include "exception_color">,
|
||||
"description": "<@safe_include "reply_exception_cannot_send_message_to_use"/>"
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"author": {
|
||||
"name": "${user.member.effectiveName?js_string}",
|
||||
"avatar": "${user.member.user.effectiveAvatarUrl}"
|
||||
},
|
||||
<#include "exception_color">,
|
||||
"description": "<@safe_include "modmail_failed_to_create_mod_mail_thread"/>"
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"author": {
|
||||
"name": "${user.member.effectiveName?js_string}",
|
||||
"avatar": "${user.member.user.effectiveAvatarUrl}"
|
||||
},
|
||||
<#include "exception_color">,
|
||||
"description": "<@safe_include "modmail_generic_error"/>"
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"author": {
|
||||
"name": "${user.member.effectiveName?js_string}",
|
||||
"avatar": "${user.member.user.effectiveAvatarUrl}"
|
||||
},
|
||||
<#include "exception_color">,
|
||||
"description": "<@safe_include "modmail_post_target_error"/>"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<#include "modmail_post_target_error_exception_text">
|
||||
@@ -0,0 +1 @@
|
||||
<#include "modmail_failed_to_create_mod_mail_thread_exception_text">
|
||||
@@ -0,0 +1 @@
|
||||
<@safe_include "modmail_no_server_available_exception_text"/>
|
||||
@@ -0,0 +1 @@
|
||||
<#include "modmail_not_in_modmail_thread_exception_text">
|
||||
@@ -0,0 +1 @@
|
||||
<#include "modmail_not_subscribed_exception_text">
|
||||
@@ -1 +1 @@
|
||||
<#include "setup_category_not_valid_exception_message">
|
||||
<#include "setup_category_not_valid_exception_text">
|
||||
Reference in New Issue
Block a user