mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-03-09 01:03:59 +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 @@
|
|||||||
{
|
{
|
||||||
<#include "user_author">
|
<#if author??>
|
||||||
<@user_author user=author/>,
|
<#include "user_author">
|
||||||
|
<@user_author user=author/>
|
||||||
|
<#else>
|
||||||
|
<@safe_include "deleted_user_author"/>
|
||||||
|
</#if>,
|
||||||
<#include "abstracto_color">,
|
<#include "abstracto_color">,
|
||||||
<#if embeddedMessage.content?has_content || embeddedMessage.embeds?size gt 0>
|
<#if embeddedMessage.content?has_content || embeddedMessage.embeds?size gt 0>
|
||||||
"description": "${embeddedMessage.content?json_string}
|
"description": "${embeddedMessage.content?json_string}
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
{
|
{
|
||||||
<#include "user_author">
|
<#if author??>
|
||||||
<@user_author user=author/>,
|
<#include "user_author">
|
||||||
|
<@user_author user=author/>
|
||||||
|
<#else>
|
||||||
|
<@safe_include "deleted_user_author"/>
|
||||||
|
</#if>,
|
||||||
<#include "abstracto_color">,
|
<#include "abstracto_color">,
|
||||||
<#if message.content?has_content || message.embeds?size gt 0>
|
<#if message.content?has_content || message.embeds?size gt 0>
|
||||||
"description": "${message.content?json_string}
|
"description": "${message.content?json_string}
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
Deleted user
|
||||||
Reference in New Issue
Block a user