[AB-120] adding jump link to modmail notification

This commit is contained in:
Sheldan
2021-02-14 19:53:49 +01:00
parent 86f4d29abf
commit 911b484a3b
2 changed files with 8 additions and 1 deletions

View File

@@ -6,7 +6,13 @@
},
<#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"/>",
"fields": [
{
"name": "<@safe_include "modmail_notification_field_title_channel"/>",
"value": "${channel.asMention}"
}
]
<#if roles?size gt 0>
,"additionalMessage": "<#list roles as role>${role.role.asMention?js_string}<#sep>,</#list>"
</#if>