ApiV2-GraphQL-Docs
ApiV2-GraphQL-Docs copied to clipboard
Conditionally exclude og:site_name to avoid empty discord embeds
There are some pages on Anilist that result in empty embeds in Discord when they are linked, because the og:site_name is always included even when there is no more info from meta tags to include in the embed. An example is thread comments:

It would be nice if the og:site_name was conditionally included based on there being at least an og:title or og:description as well, otherwise the embed is just unnecessary