mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 17:58:26 -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(Title)
|
||||||
|| !string.IsNullOrWhiteSpace(Description)
|
|| !string.IsNullOrWhiteSpace(Description)
|
||||||
|| !string.IsNullOrWhiteSpace(Url)
|
|| !string.IsNullOrWhiteSpace(Url)
|
||||||
|
|| !string.IsNullOrWhiteSpace(Author?.Name)
|
||||||
|| !string.IsNullOrWhiteSpace(Thumbnail)
|
|| !string.IsNullOrWhiteSpace(Thumbnail)
|
||||||
|| !string.IsNullOrWhiteSpace(Image)
|
|| !string.IsNullOrWhiteSpace(Image)
|
||||||
|| (Footer is not null
|
|| (Footer is not null
|
||||||
|
Reference in New Issue
Block a user