Skip to content

Commit 574e5c1

Browse files
authored
fix(APIApplicationCommandChannelOption): exclude directory channels (#1300)
1 parent 3eb77eb commit 574e5c1

File tree

4 files changed

+4
-4
lines changed
  • deno/payloads
    • v10/_interactions/_applicationCommands/_chatInput
    • v9/_interactions/_applicationCommands/_chatInput
  • payloads
    • v10/_interactions/_applicationCommands/_chatInput
    • v9/_interactions/_applicationCommands/_chatInput

4 files changed

+4
-4
lines changed

deno/payloads/v10/_interactions/_applicationCommands/_chatInput/channel.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deno/payloads/v9/_interactions/_applicationCommands/_chatInput/channel.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

payloads/v10/_interactions/_applicationCommands/_chatInput/channel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import type { ApplicationCommandOptionType } from './shared';
55

66
export interface APIApplicationCommandChannelOption
77
extends APIApplicationCommandOptionBase<ApplicationCommandOptionType.Channel> {
8-
channel_types?: Exclude<ChannelType, ChannelType.DM | ChannelType.GroupDM>[];
8+
channel_types?: Exclude<ChannelType, ChannelType.DM | ChannelType.GroupDM | ChannelType.GuildDirectory>[];
99
}
1010

1111
export type APIApplicationCommandInteractionDataChannelOption = APIInteractionDataOptionBase<

payloads/v9/_interactions/_applicationCommands/_chatInput/channel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import type { ApplicationCommandOptionType } from './shared';
55

66
export interface APIApplicationCommandChannelOption
77
extends APIApplicationCommandOptionBase<ApplicationCommandOptionType.Channel> {
8-
channel_types?: Exclude<ChannelType, ChannelType.DM | ChannelType.GroupDM>[];
8+
channel_types?: Exclude<ChannelType, ChannelType.DM | ChannelType.GroupDM | ChannelType.GuildDirectory>[];
99
}
1010

1111
export type APIApplicationCommandInteractionDataChannelOption = APIInteractionDataOptionBase<

0 commit comments

Comments
 (0)