From e4a2930bf353af9406e48934569677d7de6dd90d Mon Sep 17 00:00:00 2001 From: Iris System Date: Sun, 28 May 2023 14:46:46 +1200 Subject: [PATCH] fix(bot): correctly reproxy voice messages --- PluralKit.Bot/Proxy/ProxyService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PluralKit.Bot/Proxy/ProxyService.cs b/PluralKit.Bot/Proxy/ProxyService.cs index 113f3ffd..add74fbc 100644 --- a/PluralKit.Bot/Proxy/ProxyService.cs +++ b/PluralKit.Bot/Proxy/ProxyService.cs @@ -281,7 +281,8 @@ public class ProxyService FileSizeLimit = guild.FileSizeLimit(), Embeds = mangledEmbeds, Stickers = originalMsg.StickerItems!, - AllowEveryone = allowEveryone + AllowEveryone = allowEveryone, + Flags = originalMsg.Flags.HasFlag(Message.MessageFlags.VoiceMessage) ? Message.MessageFlags.VoiceMessage : null, });