Turns out the ?? just does it as a literal so going to leave it and see what happens when it's null

This commit is contained in:
barelyprofessional
2026-03-01 23:51:50 -06:00
parent 98369e3d92
commit 896477787d

View File

@@ -363,7 +363,7 @@ public class XeetEmbedCommand : ICommand
}
// Build footer (stats + links) - this will always be on the last message
footerBuilder.Append($"💬 {tweet.Replies:N0} 🔁 {tweet.Retweets:N0} ❤️ {tweet.Likes:N0} 👁️ {tweet.Views:N0 ?? 0}[br]");
footerBuilder.Append($"💬 {tweet.Replies:N0} 🔁 {tweet.Retweets:N0} ❤️ {tweet.Likes:N0} 👁️ {tweet.Views:N0}[br]");
footerBuilder.Append($"[url={tweet.Url}]X.com[/url] | [url=https://xcancel.com/{tweet.Author.ScreenName}/status/{xeetId}]Xcancel[/url]");
// Split message if needed, with header always first and footer always last