diff --git a/deno/rest/v10/channel.ts b/deno/rest/v10/channel.ts index 252858769..18b854a13 100644 --- a/deno/rest/v10/channel.ts +++ b/deno/rest/v10/channel.ts @@ -608,7 +608,7 @@ export interface RESTPostAPIChannelMessagesThreadsJSONBody { * * The 3 day and 7 day archive durations require the server to be boosted. The [guild features](https://discord.com/developers/docs/resources/guild#guild-object-guild-features) will indicate if a server is able to use those settings. */ - auto_archive_duration: ThreadAutoArchiveDuration; + auto_archive_duration?: ThreadAutoArchiveDuration | undefined; /** * Amount of seconds a user has to wait before sending another message (0-21600) */ diff --git a/deno/rest/v9/channel.ts b/deno/rest/v9/channel.ts index 7ca8f06ce..a51b80ca3 100644 --- a/deno/rest/v9/channel.ts +++ b/deno/rest/v9/channel.ts @@ -622,7 +622,7 @@ export interface RESTPostAPIChannelMessagesThreadsJSONBody { * * The 3 day and 7 day archive durations require the server to be boosted. The [guild features](https://discord.com/developers/docs/resources/guild#guild-object-guild-features) will indicate if a server is able to use those settings. */ - auto_archive_duration: ThreadAutoArchiveDuration; + auto_archive_duration?: ThreadAutoArchiveDuration | undefined; /** * Amount of seconds a user has to wait before sending another message (0-21600) */ diff --git a/rest/v10/channel.ts b/rest/v10/channel.ts index a16654834..56e569b2b 100644 --- a/rest/v10/channel.ts +++ b/rest/v10/channel.ts @@ -608,7 +608,7 @@ export interface RESTPostAPIChannelMessagesThreadsJSONBody { * * The 3 day and 7 day archive durations require the server to be boosted. The [guild features](https://discord.com/developers/docs/resources/guild#guild-object-guild-features) will indicate if a server is able to use those settings. */ - auto_archive_duration: ThreadAutoArchiveDuration; + auto_archive_duration?: ThreadAutoArchiveDuration | undefined; /** * Amount of seconds a user has to wait before sending another message (0-21600) */ diff --git a/rest/v9/channel.ts b/rest/v9/channel.ts index 74e05e31f..713f7c3e3 100644 --- a/rest/v9/channel.ts +++ b/rest/v9/channel.ts @@ -622,7 +622,7 @@ export interface RESTPostAPIChannelMessagesThreadsJSONBody { * * The 3 day and 7 day archive durations require the server to be boosted. The [guild features](https://discord.com/developers/docs/resources/guild#guild-object-guild-features) will indicate if a server is able to use those settings. */ - auto_archive_duration: ThreadAutoArchiveDuration; + auto_archive_duration?: ThreadAutoArchiveDuration | undefined; /** * Amount of seconds a user has to wait before sending another message (0-21600) */