Skip to content

Commit

Permalink
fix(RESTPostAPIChannelMessagesThreadsJSONBody): mark `auto_archive_du…
Browse files Browse the repository at this point in the history
…ration` as optional
  • Loading branch information
kyranet authored Apr 16, 2023
1 parent 9a66d21 commit ca6a95d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion deno/rest/v10/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
*/
Expand Down
2 changes: 1 addition & 1 deletion deno/rest/v9/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
*/
Expand Down
2 changes: 1 addition & 1 deletion rest/v10/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
*/
Expand Down
2 changes: 1 addition & 1 deletion rest/v9/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
*/
Expand Down

1 comment on commit ca6a95d

@vercel
Copy link

@vercel vercel bot commented on ca6a95d Apr 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.