Skip to content

Commit

Permalink
Fix crash on source cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
Xwilarg committed Sep 28, 2024
1 parent 2ca6d3b commit 88d0b39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sanara/Module/Utility/Tool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static async Task<Embed> GetSourceAsync(IServiceProvider provider, string
{
Title = "Closest match",
Url = linkUrl,
ImageUrl = url,
ImageUrl = url.StartsWith("http") ? url : null,
Description = Utils.CleanHtml(content),
Color = Color.Blue,
Footer = new EmbedFooterBuilder
Expand Down

0 comments on commit 88d0b39

Please sign in to comment.