fix(bot): correctly reproxy voice messages
This commit is contained in:
parent
97666a62df
commit
e4a2930bf3
@ -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,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user