From 44fa09790098f004d35e0eda19b43b817fafddc2 Mon Sep 17 00:00:00 2001 From: spiral Date: Mon, 28 Dec 2020 04:47:14 +0000 Subject: [PATCH] Force PNG image format (remove animations in embeds) --- PluralKit.Bot/Proxy/ProxyService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Bot/Proxy/ProxyService.cs b/PluralKit.Bot/Proxy/ProxyService.cs index ed02af8c..3ec2b7d7 100644 --- a/PluralKit.Bot/Proxy/ProxyService.cs +++ b/PluralKit.Bot/Proxy/ProxyService.cs @@ -169,7 +169,7 @@ namespace PluralKit.Bot return new DiscordEmbedBuilder() // 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()) .Build(); }