From c1d17c29445bcc3f1a2332aec5e41b3d727e0d3e Mon Sep 17 00:00:00 2001 From: Ske Date: Sun, 3 May 2020 17:18:33 +0200 Subject: [PATCH] Fix member avatar in log channel message --- PluralKit.Bot/Services/EmbedService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Bot/Services/EmbedService.cs b/PluralKit.Bot/Services/EmbedService.cs index f3f35cd8..ebea1696 100644 --- a/PluralKit.Bot/Services/EmbedService.cs +++ b/PluralKit.Bot/Services/EmbedService.cs @@ -66,7 +66,7 @@ namespace PluralKit.Bot { // TODO: pronouns in ?-reacted response using this card var timestamp = DiscordUtils.SnowflakeToInstant(messageId); return new DiscordEmbedBuilder() - .WithAuthor($"#{channel.Name}: {member.Name}", member.AvatarUrl) + .WithAuthor($"#{channel.Name}: {member.Name}", iconUrl: member.AvatarUrl) .WithDescription(content?.NormalizeLineEndSpacing()) .WithFooter($"System ID: {system.Hid} | Member ID: {member.Hid} | Sender: {sender.Username}#{sender.Discriminator} ({sender.Id}) | Message ID: {messageId} | Original Message ID: {originalMsgId}") .WithTimestamp(timestamp.ToDateTimeOffset())