fix(bot): correctly reproxy voice messages

This commit is contained in:
Iris System 2023-05-28 14:46:46 +12:00
parent 97666a62df
commit e4a2930bf3

View File

@ -281,7 +281,8 @@ public class ProxyService
FileSizeLimit = guild.FileSizeLimit(), FileSizeLimit = guild.FileSizeLimit(),
Embeds = mangledEmbeds, Embeds = mangledEmbeds,
Stickers = originalMsg.StickerItems!, Stickers = originalMsg.StickerItems!,
AllowEveryone = allowEveryone AllowEveryone = allowEveryone,
Flags = originalMsg.Flags.HasFlag(Message.MessageFlags.VoiceMessage) ? Message.MessageFlags.VoiceMessage : null,
}); });