Merge pull request #271 from dev-kittens/patch/reply-avatars
Force PNG image format (remove animations in embeds)
This commit is contained in:
commit
b5f89a1103
@ -169,7 +169,7 @@ namespace PluralKit.Bot
|
|||||||
|
|
||||||
return new DiscordEmbedBuilder()
|
return new DiscordEmbedBuilder()
|
||||||
// unicodes: [three-per-em space] [left arrow emoji] [force emoji presentation]
|
// unicodes: [three-per-em space] [left arrow emoji] [force emoji presentation]
|
||||||
.WithAuthor($"{username}\u2004\u21a9\ufe0f", iconUrl: original.Author.AvatarUrl)
|
.WithAuthor($"{username}\u2004\u21a9\ufe0f", iconUrl: original.Author.GetAvatarUrl(ImageFormat.Png, 1024))
|
||||||
.WithDescription(content.ToString())
|
.WithDescription(content.ToString())
|
||||||
.Build();
|
.Build();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user