all are optional

This commit is contained in:
ITOH
2021-05-03 20:18:53 +02:00
parent b6b3d31c55
commit 17695e2ccb

View File

@@ -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<