feat: add text-to-speech option to members (#570)

Merges PluralKit/PluralKit#570
This commit is contained in:
rladenson 2023-08-10 18:03:37 +12:00 committed by Iris System
parent 68cd21fb2f
commit e58b3c7274
16 changed files with 90 additions and 6 deletions

View file

@ -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;