mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
feat: add support for attachment descriptions
This commit is contained in:
parent
36acb5bae6
commit
0ca356eec3
7 changed files with 25 additions and 7 deletions
|
|
@ -189,7 +189,7 @@ namespace PluralKit.Bot
|
|||
await ctx.Rest.CreateMessage(
|
||||
ctx.Channel.Id,
|
||||
new MessageRequest { Content = $"{Emojis.Warn} Message contains codeblocks, raw source sent as an attachment." },
|
||||
new[] { new MultipartFile("message.txt", stream) });
|
||||
new[] { new MultipartFile("message.txt", stream, null) });
|
||||
}
|
||||
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue