mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-08 14:57:54 +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
|
|
@ -562,7 +562,7 @@ public class SystemEdit
|
|||
var dm = await _dmCache.GetOrCreateDmChannel(ctx.Author.Id);
|
||||
var msg = await ctx.Rest.CreateMessage(dm,
|
||||
new MessageRequest { Content = $"{Emojis.Success} System deleted. If you want to set up your PluralKit system again, you can import the file below with `pk;import`." },
|
||||
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