From 44d78ffcfea7f50226f8df4b0c12b8288a299b60 Mon Sep 17 00:00:00 2001 From: Master Kwoth Date: Fri, 17 Nov 2017 20:01:20 +0100 Subject: [PATCH] .av will show avatar in image embed field too. --- NadekoBot.Core/Modules/Searches/Searches.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NadekoBot.Core/Modules/Searches/Searches.cs b/NadekoBot.Core/Modules/Searches/Searches.cs index 01bea478..fd464ef2 100644 --- a/NadekoBot.Core/Modules/Searches/Searches.cs +++ b/NadekoBot.Core/Modules/Searches/Searches.cs @@ -780,7 +780,8 @@ namespace NadekoBot.Modules.Searches await Context.Channel.EmbedAsync(new EmbedBuilder().WithOkColor() .AddField(efb => efb.WithName("Username").WithValue(usr.ToString()).WithIsInline(false)) .AddField(efb => efb.WithName("Avatar Url").WithValue(shortenedAvatarUrl).WithIsInline(false)) - .WithThumbnailUrl(avatarUrl), Context.User.Mention).ConfigureAwait(false); + .WithThumbnailUrl(avatarUrl) + .WithImageUrl(avatarUrl), Context.User.Mention).ConfigureAwait(false); } [NadekoCommand, Usage, Description, Aliases]