[AB-xxx] refactoring the modmail to use users instead of members

adding modmailAppeal templates
This commit is contained in:
Sheldan
2024-05-31 01:16:17 +02:00
parent 4a341ed479
commit 88ed051af4
11 changed files with 18 additions and 11 deletions

View File

@@ -1 +1,2 @@
<#macro user_author user> "author": { "name": <#include "user_user_name"> "<@user_user_name user=user/>", "avatar": "${user.effectiveAvatarUrl}" }</#macro>
<#macro user_detail_author user> "author": { "name": <#include "user_user_name"> "<@user_user_name user=userDisplay/>"<#if user.avatarUrl?has_content>, "avatar": "${user.avatarUrl}"</#if>}</#macro>