From 1ac472c6766820703134a7c1e65abb4d4f4148bc Mon Sep 17 00:00:00 2001 From: Kwoth Date: Mon, 27 Sep 2021 10:52:14 +0200 Subject: [PATCH] Urls will now properly work in embeds. Fixes #306 --- src/NadekoBot/Common/Replacements/Replacer.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/NadekoBot/Common/Replacements/Replacer.cs b/src/NadekoBot/Common/Replacements/Replacer.cs index 9d066cdbf..f1de1dd6e 100644 --- a/src/NadekoBot/Common/Replacements/Replacer.cs +++ b/src/NadekoBot/Common/Replacements/Replacer.cs @@ -53,6 +53,7 @@ namespace NadekoBot.Common.Replacements newEmbedData.Title = Replace(embedData.Title); newEmbedData.Thumbnail = Replace(embedData.Thumbnail); newEmbedData.Image = Replace(embedData.Image); + newEmbedData.Url = Replace(embedData.Url); if (embedData.Author != null) { newEmbedData.Author = new SmartTextEmbedAuthor();