summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2026-03-07 00:34:50 +0100
committerRory& <root@rory.gay>2026-03-07 00:34:50 +0100
commit8274bf9d761cc9a6d86333e179e68bb538ae7d7d (patch)
tree003d11dce8f0a494064d3a9812154cd203793d95
parent[rel/1518] Member flags (diff)
downloadserver-ts-8274bf9d761cc9a6d86333e179e68bb538ae7d7d.tar.xz
[rel/1518] Allowed mentions + message reference: allow nulls
-rw-r--r--src/schemas/uncategorised/MessageCreateSchema.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/schemas/uncategorised/MessageCreateSchema.ts b/src/schemas/uncategorised/MessageCreateSchema.ts

index a1d43d1b..b9c8119e 100644 --- a/src/schemas/uncategorised/MessageCreateSchema.ts +++ b/src/schemas/uncategorised/MessageCreateSchema.ts
@@ -43,18 +43,18 @@ export interface MessageCreateSchema { embed?: Embed | null; // TODO: ^ embed is deprecated in favor of embeds (https://discord.com/developers/docs/resources/channel#message-object) allowed_mentions?: { - parse?: string[]; - roles?: string[]; - users?: string[]; + parse?: string[] | null; + roles?: string[] | null; + users?: string[] | null; replied_user?: boolean; - }; + } | null; message_reference?: { message_id?: string; channel_id?: string; guild_id?: string; fail_if_not_exists?: boolean; type?: number; - }; + } | null; payload_json?: string; file?: { filename: string }; /**