mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Fix member avatar in log channel message
This commit is contained in:
parent
ffa6faddd2
commit
c1d17c2944
1 changed files with 1 additions and 1 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue