diff --git a/deno/payloads/v10/channel.ts b/deno/payloads/v10/channel.ts index b8230521..5533b5cc 100644 --- a/deno/payloads/v10/channel.ts +++ b/deno/payloads/v10/channel.ts @@ -127,10 +127,6 @@ export interface APIGuildChannel extends APIChannelBase; export type APINewsChannel = APIGuildTextChannel; -export interface APIGuildCategoryChannel extends APIGuildChannel, APISortableChannel {} +export interface APIGuildCategoryChannel extends APIGuildChannel, APISortableChannel { + parent_id?: null; +} export interface APIVoiceChannelBase extends APIGuildChannel, @@ -274,9 +272,9 @@ export interface APIThreadChannel; @@ -399,6 +397,10 @@ export interface APIThreadOnlyChannel { diff --git a/deno/payloads/v9/channel.ts b/deno/payloads/v9/channel.ts index 7bb214ba..a05e492d 100644 --- a/deno/payloads/v9/channel.ts +++ b/deno/payloads/v9/channel.ts @@ -127,10 +127,6 @@ export interface APIGuildChannel extends APIChannelBase; export type APINewsChannel = APIGuildTextChannel; -export interface APIGuildCategoryChannel extends APIGuildChannel, APISortableChannel {} +export interface APIGuildCategoryChannel extends APIGuildChannel, APISortableChannel { + parent_id?: null; +} export interface APIVoiceChannelBase extends APIGuildChannel, @@ -274,9 +272,9 @@ export interface APIThreadChannel; @@ -399,6 +397,10 @@ export interface APIThreadOnlyChannel { diff --git a/payloads/v10/channel.ts b/payloads/v10/channel.ts index 717518b0..19fe969f 100644 --- a/payloads/v10/channel.ts +++ b/payloads/v10/channel.ts @@ -127,10 +127,6 @@ export interface APIGuildChannel extends APIChannelBase; export type APINewsChannel = APIGuildTextChannel; -export interface APIGuildCategoryChannel extends APIGuildChannel, APISortableChannel {} +export interface APIGuildCategoryChannel extends APIGuildChannel, APISortableChannel { + parent_id?: null; +} export interface APIVoiceChannelBase extends APIGuildChannel, @@ -274,9 +272,9 @@ export interface APIThreadChannel; @@ -399,6 +397,10 @@ export interface APIThreadOnlyChannel { diff --git a/payloads/v9/channel.ts b/payloads/v9/channel.ts index 69db3fa9..c545bcb9 100644 --- a/payloads/v9/channel.ts +++ b/payloads/v9/channel.ts @@ -127,10 +127,6 @@ export interface APIGuildChannel extends APIChannelBase; export type APINewsChannel = APIGuildTextChannel; -export interface APIGuildCategoryChannel extends APIGuildChannel, APISortableChannel {} +export interface APIGuildCategoryChannel extends APIGuildChannel, APISortableChannel { + parent_id?: null; +} export interface APIVoiceChannelBase extends APIGuildChannel, @@ -274,9 +272,9 @@ export interface APIThreadChannel; @@ -399,6 +397,10 @@ export interface APIThreadOnlyChannel {