diff --git a/src/types/webhooks/execute_webhook.ts b/src/types/webhooks/execute_webhook.ts index 4e3a956a0..f668a0906 100644 --- a/src/types/webhooks/execute_webhook.ts +++ b/src/types/webhooks/execute_webhook.ts @@ -16,11 +16,11 @@ export interface ExecuteWebhook { /** True if this is a TTS message */ tts?: boolean; /** The contents of the file being sent */ - file: FileContent | FileContent[]; + file?: FileContent | FileContent[]; /** Embedded `rich` content */ - embeds: Embed[]; + embeds?: Embed[]; /** Allowed mentions for the message */ - allowedMentions: AllowedMentions; + allowedMentions?: AllowedMentions; } export type DiscordExecuteWebhook = SnakeCasedPropertiesDeep<