mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
feat: add text-to-speech option to members (#570)
Merges PluralKit/PluralKit#570
This commit is contained in:
parent
68cd21fb2f
commit
e58b3c7274
16 changed files with 90 additions and 6 deletions
|
|
@ -44,6 +44,7 @@ public record ProxyRequest
|
|||
public Sticker[] Stickers { get; init; }
|
||||
public bool AllowEveryone { get; init; }
|
||||
public Message.MessageFlags? Flags { get; init; }
|
||||
public bool Tts { get; init; }
|
||||
}
|
||||
|
||||
public class WebhookExecutorService
|
||||
|
|
@ -131,6 +132,7 @@ public class WebhookExecutorService
|
|||
Embeds = req.Embeds,
|
||||
Stickers = req.Stickers,
|
||||
Flags = req.Flags,
|
||||
Tts = req.Tts,
|
||||
};
|
||||
|
||||
MultipartFile[] files = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue