diff --git a/deno/payloads/v9/_interactions/applicationCommands.ts b/deno/payloads/v9/_interactions/applicationCommands.ts index 3a2c43e1..cda6b362 100644 --- a/deno/payloads/v9/_interactions/applicationCommands.ts +++ b/deno/payloads/v9/_interactions/applicationCommands.ts @@ -1,5 +1,5 @@ import type { Permissions, Snowflake } from '../../../globals.ts'; -import type { APIPartialChannel } from '../channel.ts'; +import type { APIPartialChannel, APIThreadMetadata } from '../channel.ts'; import type { APIGuildMember } from '../guild.ts'; import type { APIBaseInteraction } from './base.ts'; import type { InteractionType } from './responses.ts'; @@ -85,7 +85,9 @@ export type APIApplicationCommandInteractionData = * https://discord.com/developers/docs/resources/channel#channel-object */ export interface APIInteractionDataResolvedChannel extends Required { + thread_metadata?: APIThreadMetadata | null; permissions: Permissions; + parent_id?: string | null; } /** diff --git a/payloads/v9/_interactions/applicationCommands.ts b/payloads/v9/_interactions/applicationCommands.ts index 98bfd453..1d02c61d 100644 --- a/payloads/v9/_interactions/applicationCommands.ts +++ b/payloads/v9/_interactions/applicationCommands.ts @@ -1,5 +1,5 @@ import type { Permissions, Snowflake } from '../../../globals'; -import type { APIPartialChannel } from '../channel'; +import type { APIPartialChannel, APIThreadMetadata } from '../channel'; import type { APIGuildMember } from '../guild'; import type { APIBaseInteraction } from './base'; import type { InteractionType } from './responses'; @@ -85,7 +85,9 @@ export type APIApplicationCommandInteractionData = * https://discord.com/developers/docs/resources/channel#channel-object */ export interface APIInteractionDataResolvedChannel extends Required { + thread_metadata?: APIThreadMetadata | null; permissions: Permissions; + parent_id?: string | null; } /**