mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-06 22:07:55 +00:00
Fix message querying actually for real
This commit is contained in:
parent
0f48c6879b
commit
6c39b7549b
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ namespace PluralKit.Bot {
|
|||
var eb = new EmbedBuilder()
|
||||
.WithAuthor(msg.Member.Name, msg.Member.AvatarUrl)
|
||||
.WithDescription(serverMsg?.Content ?? "*(message contents deleted or inaccessible)*")
|
||||
.WithImageUrl(serverMsg?.Attachments?.First()?.Url)
|
||||
.WithImageUrl(serverMsg?.Attachments?.FirstOrDefault()?.Url)
|
||||
.AddField("System",
|
||||
msg.System.Name != null ? $"{msg.System.Name} (`{msg.System.Hid}`)" : $"`{msg.System.Hid}`", true)
|
||||
.AddField("Member", memberStr, true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue