mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-03-24 21:53:24 +00:00
Display in bold whether a warning is active or decayed (#10)
Co-Authored-By: Sheldan <5037282+Sheldan@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
921a5259ee
commit
bb47784554
@@ -1,4 +1,5 @@
|
||||
<#include "format_instant">
|
||||
<#assign decayed=warning.warning.decayed/>
|
||||
<#assign warnId>${warning.warning.warnId.id}</#assign>
|
||||
<#assign reason>${warning.warning.reason}</#assign>
|
||||
<#assign warnedUserText><#if warning.warnedUser.member??>${warning.warnedUser.member.asMention}(${warning.warnedUser.member.user.id})<#else>${warning.warnedUser.userId?c}</#if></#assign>
|
||||
|
||||
@@ -1 +1 @@
|
||||
Warning #${warnId} with reason: `${reason}` towards user ${warnedUserText} by user ${warningUserText} on ${warnDate}.
|
||||
Warning #${warnId} with reason: `${reason}` towards user ${warnedUserText} by user ${warningUserText} on ${warnDate}. The warning is **${decayed?then('decayed', 'active')}**
|
||||
Reference in New Issue
Block a user