From aca7ace527abc916c33a3fbccce419aa1556e31a Mon Sep 17 00:00:00 2001
From: Toastie <toastie@toastiet0ast.com>
Date: Mon, 21 Oct 2024 13:46:09 +1300
Subject: [PATCH] author name will be counted as content in embeds. Embeds will
 now be valid if they only have an author specified

---
 src/EllieBot/_common/SmartText/SmartEmbedText.cs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/EllieBot/_common/SmartText/SmartEmbedText.cs b/src/EllieBot/_common/SmartText/SmartEmbedText.cs
index b52c0cb..d06e72b 100644
--- a/src/EllieBot/_common/SmartText/SmartEmbedText.cs
+++ b/src/EllieBot/_common/SmartText/SmartEmbedText.cs
@@ -69,6 +69,7 @@ public abstract record SmartEmbedTextBase : SmartText
         => !string.IsNullOrWhiteSpace(Title)
            || !string.IsNullOrWhiteSpace(Description)
            || !string.IsNullOrWhiteSpace(Url)
+           || !string.IsNullOrWhiteSpace(Author?.Name)
            || !string.IsNullOrWhiteSpace(Thumbnail)
            || !string.IsNullOrWhiteSpace(Image)
            || (Footer is not null