mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38:27 -04:00
Urls will now properly work in embeds. Fixes #306
This commit is contained in:
@@ -53,6 +53,7 @@ namespace NadekoBot.Common.Replacements
|
|||||||
newEmbedData.Title = Replace(embedData.Title);
|
newEmbedData.Title = Replace(embedData.Title);
|
||||||
newEmbedData.Thumbnail = Replace(embedData.Thumbnail);
|
newEmbedData.Thumbnail = Replace(embedData.Thumbnail);
|
||||||
newEmbedData.Image = Replace(embedData.Image);
|
newEmbedData.Image = Replace(embedData.Image);
|
||||||
|
newEmbedData.Url = Replace(embedData.Url);
|
||||||
if (embedData.Author != null)
|
if (embedData.Author != null)
|
||||||
{
|
{
|
||||||
newEmbedData.Author = new SmartTextEmbedAuthor();
|
newEmbedData.Author = new SmartTextEmbedAuthor();
|
||||||
|
Reference in New Issue
Block a user