diff --git a/deno/rest/v8/channel.ts b/deno/rest/v8/channel.ts index c2dcd202..9d782e5d 100644 --- a/deno/rest/v8/channel.ts +++ b/deno/rest/v8/channel.ts @@ -176,6 +176,12 @@ export interface RESTPostAPIChannelMessageJSONBody { * `true` if this is a TTS message */ tts?: boolean; + /** + * Embedded `rich` content (up to 6000 characters) + * + * See https://discord.com/developers/docs/resources/channel#embed-object + */ + embeds?: APIEmbed[]; /** * Embedded `rich` content * @@ -281,6 +287,10 @@ export interface RESTPatchAPIChannelMessageJSONBody { * The new message contents (up to 2000 characters) */ content?: string | null; + /** + * Embedded `rich` content (up to 6000 characters) + */ + embeds?: APIEmbed[]; /** * Embedded `rich` content */ diff --git a/deno/rest/v9/channel.ts b/deno/rest/v9/channel.ts index 9a6963d2..88c9a1e9 100644 --- a/deno/rest/v9/channel.ts +++ b/deno/rest/v9/channel.ts @@ -203,10 +203,17 @@ export interface RESTPostAPIChannelMessageJSONBody { * `true` if this is a TTS message */ tts?: boolean; + /** + * Embedded `rich` content (up to 6000 characters) + * + * See https://discord.com/developers/docs/resources/channel#embed-object + */ + embeds?: APIEmbed[]; /** * Embedded `rich` content * * See https://discord.com/developers/docs/resources/channel#embed-object + * @deprecated Use `embeds` instead */ embed?: APIEmbed; /** @@ -308,8 +315,13 @@ export interface RESTPatchAPIChannelMessageJSONBody { * The new message contents (up to 2000 characters) */ content?: string | null; + /** + * Embedded `rich` content (up to 6000 characters) + */ + embeds?: APIEmbed[]; /** * Embedded `rich` content + * @deprecated Use `embeds` instead */ embed?: APIEmbed | null; /** diff --git a/rest/v8/channel.ts b/rest/v8/channel.ts index 962a38db..b454b92e 100644 --- a/rest/v8/channel.ts +++ b/rest/v8/channel.ts @@ -176,6 +176,12 @@ export interface RESTPostAPIChannelMessageJSONBody { * `true` if this is a TTS message */ tts?: boolean; + /** + * Embedded `rich` content (up to 6000 characters) + * + * See https://discord.com/developers/docs/resources/channel#embed-object + */ + embeds?: APIEmbed[]; /** * Embedded `rich` content * @@ -281,6 +287,10 @@ export interface RESTPatchAPIChannelMessageJSONBody { * The new message contents (up to 2000 characters) */ content?: string | null; + /** + * Embedded `rich` content (up to 6000 characters) + */ + embeds?: APIEmbed[]; /** * Embedded `rich` content */ diff --git a/rest/v9/channel.ts b/rest/v9/channel.ts index b67d19e5..1eedc148 100644 --- a/rest/v9/channel.ts +++ b/rest/v9/channel.ts @@ -203,10 +203,17 @@ export interface RESTPostAPIChannelMessageJSONBody { * `true` if this is a TTS message */ tts?: boolean; + /** + * Embedded `rich` content (up to 6000 characters) + * + * See https://discord.com/developers/docs/resources/channel#embed-object + */ + embeds?: APIEmbed[]; /** * Embedded `rich` content * * See https://discord.com/developers/docs/resources/channel#embed-object + * @deprecated Use `embeds` instead */ embed?: APIEmbed; /** @@ -308,8 +315,13 @@ export interface RESTPatchAPIChannelMessageJSONBody { * The new message contents (up to 2000 characters) */ content?: string | null; + /** + * Embedded `rich` content (up to 6000 characters) + */ + embeds?: APIEmbed[]; /** * Embedded `rich` content + * @deprecated Use `embeds` instead */ embed?: APIEmbed | null; /**