diff --git a/deno/rest/v9/channel.ts b/deno/rest/v9/channel.ts index 5e5d77eb..aa57a5d3 100644 --- a/deno/rest/v9/channel.ts +++ b/deno/rest/v9/channel.ts @@ -575,6 +575,10 @@ 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; + /** + * Amount of seconds a user has to wait before sending another message (0-21600) + */ + rate_limit_per_user?: number; } /** diff --git a/rest/v9/channel.ts b/rest/v9/channel.ts index 22796a51..12889d25 100644 --- a/rest/v9/channel.ts +++ b/rest/v9/channel.ts @@ -575,6 +575,10 @@ 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; + /** + * Amount of seconds a user has to wait before sending another message (0-21600) + */ + rate_limit_per_user?: number; } /**