diff --git a/deno/rest/v10/channel.ts b/deno/rest/v10/channel.ts index 2b40e978..4eadbcac 100644 --- a/deno/rest/v10/channel.ts +++ b/deno/rest/v10/channel.ts @@ -149,7 +149,7 @@ export interface RESTPatchAPIChannelJSONBody { * * Channel types: text, news, forum, media */ - default_auto_archive_duration?: ThreadAutoArchiveDuration | undefined; + default_auto_archive_duration?: ThreadAutoArchiveDuration | null | undefined; /** * Channel flags combined as a bit field. */ @@ -171,7 +171,7 @@ export interface RESTPatchAPIChannelJSONBody { * * Channel types: forum, media */ - default_reaction_emoji?: APIGuildForumDefaultReactionEmoji | undefined; + default_reaction_emoji?: APIGuildForumDefaultReactionEmoji | null | undefined; /** * The initial `rate_limit_per_user` to set on newly created threads in a channel. * This field is copied to the thread at creation time and does not live update diff --git a/deno/rest/v9/channel.ts b/deno/rest/v9/channel.ts index 12fa0f61..ec1eb897 100644 --- a/deno/rest/v9/channel.ts +++ b/deno/rest/v9/channel.ts @@ -149,7 +149,7 @@ export interface RESTPatchAPIChannelJSONBody { * * Channel types: text, news, forum, media */ - default_auto_archive_duration?: ThreadAutoArchiveDuration | undefined; + default_auto_archive_duration?: ThreadAutoArchiveDuration | null | undefined; /** * Channel flags combined as a bit field. */ @@ -171,7 +171,7 @@ export interface RESTPatchAPIChannelJSONBody { * * Channel types: forum, media */ - default_reaction_emoji?: APIGuildForumDefaultReactionEmoji | undefined; + default_reaction_emoji?: APIGuildForumDefaultReactionEmoji | null | undefined; /** * The initial `rate_limit_per_user` to set on newly created threads in a channel. * This field is copied to the thread at creation time and does not live update diff --git a/rest/v10/channel.ts b/rest/v10/channel.ts index 9345d626..1cb1a2b6 100644 --- a/rest/v10/channel.ts +++ b/rest/v10/channel.ts @@ -149,7 +149,7 @@ export interface RESTPatchAPIChannelJSONBody { * * Channel types: text, news, forum, media */ - default_auto_archive_duration?: ThreadAutoArchiveDuration | undefined; + default_auto_archive_duration?: ThreadAutoArchiveDuration | null | undefined; /** * Channel flags combined as a bit field. */ @@ -171,7 +171,7 @@ export interface RESTPatchAPIChannelJSONBody { * * Channel types: forum, media */ - default_reaction_emoji?: APIGuildForumDefaultReactionEmoji | undefined; + default_reaction_emoji?: APIGuildForumDefaultReactionEmoji | null | undefined; /** * The initial `rate_limit_per_user` to set on newly created threads in a channel. * This field is copied to the thread at creation time and does not live update diff --git a/rest/v9/channel.ts b/rest/v9/channel.ts index 141e3a13..6ca98eb0 100644 --- a/rest/v9/channel.ts +++ b/rest/v9/channel.ts @@ -149,7 +149,7 @@ export interface RESTPatchAPIChannelJSONBody { * * Channel types: text, news, forum, media */ - default_auto_archive_duration?: ThreadAutoArchiveDuration | undefined; + default_auto_archive_duration?: ThreadAutoArchiveDuration | null | undefined; /** * Channel flags combined as a bit field. */ @@ -171,7 +171,7 @@ export interface RESTPatchAPIChannelJSONBody { * * Channel types: forum, media */ - default_reaction_emoji?: APIGuildForumDefaultReactionEmoji | undefined; + default_reaction_emoji?: APIGuildForumDefaultReactionEmoji | null | undefined; /** * The initial `rate_limit_per_user` to set on newly created threads in a channel. * This field is copied to the thread at creation time and does not live update