feat: add -clear-attachments flag to pk;edit

This commit is contained in:
sam 2024-11-12 00:20:56 +01:00
parent 10d45d3a1a
commit 11390a4fc7
No known key found for this signature in database
GPG key ID: 5F3C3C1B3166639D
4 changed files with 13 additions and 5 deletions

View file

@ -15,4 +15,7 @@ public record WebhookMessageEditRequest
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public Optional<Embed[]?> Embeds { get; init; }
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public Optional<Message.Attachment[]?> Attachments { get; init; }
}