added closesilently command for modmail

largely refactored modmail future handling and error handling in case:
no permission, unable to contact user
fixed help command template
This commit is contained in:
Sheldan
2020-05-08 00:20:20 +02:00
parent 95733c9b98
commit c03788a065
18 changed files with 138 additions and 26 deletions

View File

@@ -0,0 +1,12 @@
{
"author": {
"name": "${user.member.effectiveName}",
"avatar": "${user.member.user.effectiveAvatarUrl}"
},
"color" : {
"r": 200,
"g": 0,
"b": 255
},
"description": "<#include "close_failed_to_delete_text_channel">"
}

View File

@@ -0,0 +1,12 @@
{
"author": {
"name": "${user.member.effectiveName}",
"avatar": "${user.member.user.effectiveAvatarUrl}"
},
"color" : {
"r": 200,
"g": 0,
"b": 255
},
"description": "<#include "modmail_generic_error">"
}

View File

@@ -0,0 +1,8 @@
{
"color" : {
"r": 200,
"g": 0,
"b": 255
},
"description": "<#include "modmail_closing_user_message_description">"
}