mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
feat(bot): allow clearing embeds from proxied messages
This commit is contained in:
parent
31ff2b7c87
commit
25c55df3b3
3 changed files with 23 additions and 9 deletions
|
|
@ -1,6 +1,7 @@
|
|||
using System.Text.Json.Serialization;
|
||||
|
||||
using Myriad.Utils;
|
||||
using Myriad.Types;
|
||||
|
||||
namespace Myriad.Rest.Types.Requests;
|
||||
|
||||
|
|
@ -11,4 +12,7 @@ public record WebhookMessageEditRequest
|
|||
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
|
||||
public Optional<AllowedMentions> AllowedMentions { get; init; }
|
||||
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
|
||||
public Optional<Embed[]?> Embeds { get; init; }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue