mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
feat(bot): correctly proxy voice messages
This commit is contained in:
parent
8187aa05b7
commit
eefbaf0c1d
9 changed files with 21 additions and 11 deletions
|
|
@ -121,7 +121,7 @@ public class ImportExport
|
|||
|
||||
var msg = await ctx.Rest.CreateMessage(dm,
|
||||
new MessageRequest { Content = $"{Emojis.Success} Here you go!" },
|
||||
new[] { new MultipartFile("system.json", stream, null) });
|
||||
new[] { new MultipartFile("system.json", stream, null, null, null) });
|
||||
await ctx.Rest.CreateMessage(dm, new MessageRequest { Content = $"<{msg.Attachments[0].Url}>" });
|
||||
|
||||
// If the original message wasn't posted in DMs, send a public reminder
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue