[AB-xxx] adding username to ban notification

This commit is contained in:
Sheldan
2023-09-19 13:04:26 +02:00
parent e5549154e0
commit c230455678
4 changed files with 4 additions and 2 deletions

View File

@@ -3,6 +3,7 @@
{ {
<#include "user_detail"> <#include "user_detail">
<#include "full_member_info"> <#include "full_member_info">
<#assign bannedUserName=bannedUser.name>
"title": { "title": {
"title": "<@safe_include "ban_log_title"/>" "title": "<@safe_include "ban_log_title"/>"
}, },

View File

@@ -3,6 +3,7 @@
{ {
<#include "user_detail"> <#include "user_detail">
<#include "abstracto_color">, <#include "abstracto_color">,
<#assign bannedUserName=bannedUser.name>
"description" : "<@safe_include "userBanned_description"/>", "description" : "<@safe_include "userBanned_description"/>",
"fields": [ "fields": [
{ {

View File

@@ -1 +1 @@
User has been banned User ${bannedUserName} has been banned.

View File

@@ -1 +1 @@
User was banned. User ${bannedUserName} was banned.