From 8b4456e0aa215a56d34ca471319f6c768346c5ba Mon Sep 17 00:00:00 2001 From: Rodry <38259440+ImRodry@users.noreply.github.com> Date: Sun, 3 Oct 2021 13:59:45 +0100 Subject: [PATCH] types(ChannelTypes): remove unknown from CHANNEL options (#6701) --- typings/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index 81409da77508..dc600d75a47f 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -3101,8 +3101,8 @@ export type ApplicationCommandData = export interface ApplicationCommandChannelOptionData extends BaseApplicationCommandOptionsData { type: CommandOptionChannelResolvableType; - channelTypes?: (keyof typeof ChannelTypes | ChannelTypes)[]; - channel_types?: ChannelTypes[]; + channelTypes?: Exclude[]; + channel_types?: Exclude[]; } export interface ApplicationCommandChannelOption extends BaseApplicationCommandOptionsData {