mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-11-01 16:24:28 -04:00
fix: author name will be counted as content in embeds. Embeds will now be valid if they only have an author specified
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user