.av will show avatar in image embed field too.

This commit is contained in:
Master Kwoth 2017-11-17 20:01:20 +01:00
parent b5a089dbc0
commit 44d78ffcfe

View File

@ -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]