mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-04-14 03:46:00 +00:00
[AB-221] adding handling of deleted users or not available users to link embeds and starboard posts
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
{
|
||||
<#include "user_author">
|
||||
<@user_author user=author/>,
|
||||
<#if author??>
|
||||
<#include "user_author">
|
||||
<@user_author user=author/>
|
||||
<#else>
|
||||
<@safe_include "deleted_user_author"/>
|
||||
</#if>,
|
||||
<#include "abstracto_color">,
|
||||
<#if embeddedMessage.content?has_content || embeddedMessage.embeds?size gt 0>
|
||||
"description": "${embeddedMessage.content?json_string}
|
||||
|
||||
Reference in New Issue
Block a user