diff --git a/deno/payloads/v10/channel.ts b/deno/payloads/v10/channel.ts index 86a8bcc4..1b01f15b 100644 --- a/deno/payloads/v10/channel.ts +++ b/deno/payloads/v10/channel.ts @@ -75,10 +75,7 @@ export type TextChannelType = export type GuildChannelType = Exclude; -export type ApplicationCommandOptionAllowedChannelType = Exclude< - ChannelType, - ChannelType.DM | ChannelType.GroupDM | ChannelType.GuildDirectory ->; +export type ApplicationCommandOptionAllowedChannelType = Exclude; export interface APISlowmodeChannel extends APIChannelBase { /** diff --git a/deno/payloads/v9/_interactions/_applicationCommands/_chatInput/channel.ts b/deno/payloads/v9/_interactions/_applicationCommands/_chatInput/channel.ts index 85058815..40a8a26c 100644 --- a/deno/payloads/v9/_interactions/_applicationCommands/_chatInput/channel.ts +++ b/deno/payloads/v9/_interactions/_applicationCommands/_chatInput/channel.ts @@ -4,7 +4,7 @@ import type { APIApplicationCommandOptionBase, APIInteractionDataOptionBase } fr import type { ApplicationCommandOptionType } from './shared.ts'; export interface APIApplicationCommandChannelOption extends APIApplicationCommandOptionBase { - channel_types?: Exclude[]; + channel_types?: Exclude[]; } export type APIApplicationCommandInteractionDataChannelOption = APIInteractionDataOptionBase< diff --git a/payloads/v10/channel.ts b/payloads/v10/channel.ts index 1855f34f..0067a5fe 100644 --- a/payloads/v10/channel.ts +++ b/payloads/v10/channel.ts @@ -75,10 +75,7 @@ export type TextChannelType = export type GuildChannelType = Exclude; -export type ApplicationCommandOptionAllowedChannelType = Exclude< - ChannelType, - ChannelType.DM | ChannelType.GroupDM | ChannelType.GuildDirectory ->; +export type ApplicationCommandOptionAllowedChannelType = Exclude; export interface APISlowmodeChannel extends APIChannelBase { /** diff --git a/payloads/v9/_interactions/_applicationCommands/_chatInput/channel.ts b/payloads/v9/_interactions/_applicationCommands/_chatInput/channel.ts index 048a0e63..72e855f1 100644 --- a/payloads/v9/_interactions/_applicationCommands/_chatInput/channel.ts +++ b/payloads/v9/_interactions/_applicationCommands/_chatInput/channel.ts @@ -4,7 +4,7 @@ import type { APIApplicationCommandOptionBase, APIInteractionDataOptionBase } fr import type { ApplicationCommandOptionType } from './shared'; export interface APIApplicationCommandChannelOption extends APIApplicationCommandOptionBase { - channel_types?: Exclude[]; + channel_types?: Exclude[]; } export type APIApplicationCommandInteractionDataChannelOption = APIInteractionDataOptionBase<