summary refs log tree commit diff
path: root/src/api
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2026-02-25 08:15:37 +0100
committerRory& <root@rory.gay>2026-02-25 08:15:37 +0100
commit1926e8cf3466fd6d32c9eba25996bd1b5d65492a (patch)
tree0aead2feee2fe761122f5c2ec8a746455ec9bc16 /src/api
parentLower missing route to WARN, add empty route middlewares (diff)
downloadserver-ts-1926e8cf3466fd6d32c9eba25996bd1b5d65492a.tar.xz
Fix message embeds not being nullable
Diffstat (limited to 'src/api')
-rw-r--r--src/api/util/handlers/Message.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/util/handlers/Message.ts b/src/api/util/handlers/Message.ts

index 0c58ff83..4dc4fb83 100644 --- a/src/api/util/handlers/Message.ts +++ b/src/api/util/handlers/Message.ts
@@ -690,7 +690,7 @@ interface MessageOptions extends MessageCreateSchema { author_id?: string; webhook_id?: string; application_id?: string; - embeds?: Embed[]; + embeds?: Embed[] | null; reactions?: Reaction[]; channel_id?: string; attachments?: (MessageCreateAttachment | MessageCreateCloudAttachment | Attachment)[]; // why are we masking this?