feat(bot): add -clear-attachments flag to pk;edit (#700)

This commit is contained in:
sam 2024-11-16 22:01:57 +01:00 committed by GitHub
parent 1c9b7fae99
commit 83d1a08aaf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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; }
}