mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-03-05 16:01:35 +00:00
[AB-221] adding handling of deleted users or not available users to link embeds and starboard posts
This commit is contained in:
@@ -0,0 +1 @@
|
||||
"author": { "name": "<@safe_include "delete_user_name"/>", "avatar": "https://discord.com/assets/6debd47ed13483642cf09e832ed0bc1b.png" }
|
||||
@@ -1,6 +1,10 @@
|
||||
{
|
||||
<#if author??>
|
||||
<#include "user_author">
|
||||
<@user_author 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}
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
{
|
||||
<#if author??>
|
||||
<#include "user_author">
|
||||
<@user_author user=author/>,
|
||||
<@user_author user=author/>
|
||||
<#else>
|
||||
<@safe_include "deleted_user_author"/>
|
||||
</#if>,
|
||||
<#include "abstracto_color">,
|
||||
<#if message.content?has_content || message.embeds?size gt 0>
|
||||
"description": "${message.content?json_string}
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Deleted user
|
||||
Reference in New Issue
Block a user