Skip to content

Commit

Permalink
fix: default_thread_rate_limit_per_user is only for forum channels (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
advaith1 committed Oct 22, 2022
1 parent 131637f commit 88ce291
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion deno/payloads/v10/channel.ts
Expand Up @@ -296,7 +296,7 @@ export interface APIGuildForumChannel extends APIGuildTextChannel<ChannelType.Gu
*/
available_tags: APIGuildForumTag[];
/**
* The initial `rate_limit_per_user` to set on newly created threads in a channel.
* The initial `rate_limit_per_user` to set on newly created threads in a forum channel.
* This field is copied to the thread at creation time and does not live update
*/
default_thread_rate_limit_per_user?: number;
Expand Down
2 changes: 1 addition & 1 deletion deno/payloads/v9/channel.ts
Expand Up @@ -296,7 +296,7 @@ export interface APIGuildForumChannel extends APIGuildTextChannel<ChannelType.Gu
*/
available_tags: APIGuildForumTag[];
/**
* The initial `rate_limit_per_user` to set on newly created threads in a channel.
* The initial `rate_limit_per_user` to set on newly created threads in a forum channel.
* This field is copied to the thread at creation time and does not live update
*/
default_thread_rate_limit_per_user?: number;
Expand Down
2 changes: 1 addition & 1 deletion deno/rest/v10/channel.ts
Expand Up @@ -160,7 +160,7 @@ export type RESTPatchAPIChannelJSONBody = AddUndefinedToPossiblyUndefinedPropert
* 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
*
* Channel types: text, forum
* Channel types: forum
*/
default_thread_rate_limit_per_user?: number | null;
/**
Expand Down
2 changes: 1 addition & 1 deletion deno/rest/v9/channel.ts
Expand Up @@ -160,7 +160,7 @@ export type RESTPatchAPIChannelJSONBody = AddUndefinedToPossiblyUndefinedPropert
* 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
*
* Channel types: text, forum
* Channel types: forum
*/
default_thread_rate_limit_per_user?: number | null;
/**
Expand Down
2 changes: 1 addition & 1 deletion payloads/v10/channel.ts
Expand Up @@ -296,7 +296,7 @@ export interface APIGuildForumChannel extends APIGuildTextChannel<ChannelType.Gu
*/
available_tags: APIGuildForumTag[];
/**
* The initial `rate_limit_per_user` to set on newly created threads in a channel.
* The initial `rate_limit_per_user` to set on newly created threads in a forum channel.
* This field is copied to the thread at creation time and does not live update
*/
default_thread_rate_limit_per_user?: number;
Expand Down
2 changes: 1 addition & 1 deletion payloads/v9/channel.ts
Expand Up @@ -296,7 +296,7 @@ export interface APIGuildForumChannel extends APIGuildTextChannel<ChannelType.Gu
*/
available_tags: APIGuildForumTag[];
/**
* The initial `rate_limit_per_user` to set on newly created threads in a channel.
* The initial `rate_limit_per_user` to set on newly created threads in a forum channel.
* This field is copied to the thread at creation time and does not live update
*/
default_thread_rate_limit_per_user?: number;
Expand Down
2 changes: 1 addition & 1 deletion rest/v10/channel.ts
Expand Up @@ -160,7 +160,7 @@ export type RESTPatchAPIChannelJSONBody = AddUndefinedToPossiblyUndefinedPropert
* 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
*
* Channel types: text, forum
* Channel types: forum
*/
default_thread_rate_limit_per_user?: number | null;
/**
Expand Down
2 changes: 1 addition & 1 deletion rest/v9/channel.ts
Expand Up @@ -160,7 +160,7 @@ export type RESTPatchAPIChannelJSONBody = AddUndefinedToPossiblyUndefinedPropert
* 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
*
* Channel types: text, forum
* Channel types: forum
*/
default_thread_rate_limit_per_user?: number | null;
/**
Expand Down

1 comment on commit 88ce291

@vercel
Copy link

@vercel vercel bot commented on 88ce291 Oct 22, 2022

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.