diff --git a/deno/rest/v10/channel.ts b/deno/rest/v10/channel.ts index 25285876..18b854a1 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 7ca8f06c..a51b80ca 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 a1665483..56e569b2 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 74e05e31..713f7c3e 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) */