docs(channel): update slowmode bypass permission information (#1562)

This commit is contained in:
kshitijanurag
2026-03-17 05:04:21 +05:30
committed by GitHub
parent e9169b8acb
commit 6b47a0c960
8 changed files with 12 additions and 16 deletions

View File

@@ -83,7 +83,7 @@ export type ApplicationCommandOptionAllowedChannelType = Exclude<
export interface APISlowmodeChannel<T extends ChannelType> extends APIChannelBase<T> {
/**
* Amount of seconds a user has to wait before sending another message (0-21600);
* bots, as well as users with the permission `MANAGE_MESSAGES` or `MANAGE_CHANNELS`, are unaffected
* bots, as well as users with the permission `BYPASS_SLOWMODE`, are unaffected
*
* `rate_limit_per_user` also applies to thread creation. Users can send one message and create one thread during each `rate_limit_per_user` interval.
*
@@ -366,7 +366,7 @@ export interface APIThreadOnlyChannel<T extends ChannelType.GuildForum | Channel
last_message_id?: Snowflake | null;
/**
* Amount of seconds a user has to wait before creating another thread (0-21600);
* bots, as well as users with the permission `MANAGE_MESSAGES` or `MANAGE_CHANNELS`, are unaffected
* bots, as well as users with the permission `BYPASS_SLOWMODE`, are unaffected
*
* The absence of this field in API calls and Gateway events should indicate that slowmode has been reset to the default value.
*/

View File

@@ -78,7 +78,7 @@ export type GuildChannelType = Exclude<ChannelType, ChannelType.DM | ChannelType
export interface APISlowmodeChannel<T extends ChannelType> extends APIChannelBase<T> {
/**
* Amount of seconds a user has to wait before sending another message (0-21600);
* bots, as well as users with the permission `MANAGE_MESSAGES` or `MANAGE_CHANNELS`, are unaffected
* bots, as well as users with the permission `BYPASS_SLOWMODE`, are unaffected
*
* `rate_limit_per_user` also applies to thread creation. Users can send one message and create one thread during each `rate_limit_per_user` interval.
*
@@ -361,7 +361,7 @@ export interface APIThreadOnlyChannel<T extends ChannelType.GuildForum | Channel
last_message_id?: Snowflake | null;
/**
* Amount of seconds a user has to wait before creating another thread (0-21600);
* bots, as well as users with the permission `MANAGE_MESSAGES` or `MANAGE_CHANNELS`, are unaffected
* bots, as well as users with the permission `BYPASS_SLOWMODE`, are unaffected
*
* The absence of this field in API calls and Gateway events should indicate that slowmode has been reset to the default value.
*/

View File

@@ -84,8 +84,7 @@ export interface RESTPatchAPIChannelJSONBody {
nsfw?: boolean | null | undefined;
/**
* Amount of seconds a user has to wait before sending another message (0-21600);
* bots, as well as users with the permission `MANAGE_MESSAGES` or `MANAGE_CHANNELS`,
* are unaffected
* bots, as well as users with the permission `BYPASS_SLOWMODE`, are unaffected
*
* Channel types: text, newsThread, publicThread, privateThread, forum, media
*/

View File

@@ -84,8 +84,7 @@ export interface RESTPatchAPIChannelJSONBody {
nsfw?: boolean | null | undefined;
/**
* Amount of seconds a user has to wait before sending another message (0-21600);
* bots, as well as users with the permission `MANAGE_MESSAGES` or `MANAGE_CHANNELS`,
* are unaffected
* bots, as well as users with the permission `BYPASS_SLOWMODE`, are unaffected
*
* Channel types: text, newsThread, publicThread, privateThread, forum, media
*/

View File

@@ -83,7 +83,7 @@ export type ApplicationCommandOptionAllowedChannelType = Exclude<
export interface APISlowmodeChannel<T extends ChannelType> extends APIChannelBase<T> {
/**
* Amount of seconds a user has to wait before sending another message (0-21600);
* bots, as well as users with the permission `MANAGE_MESSAGES` or `MANAGE_CHANNELS`, are unaffected
* bots, as well as users with the permission `BYPASS_SLOWMODE`, are unaffected
*
* `rate_limit_per_user` also applies to thread creation. Users can send one message and create one thread during each `rate_limit_per_user` interval.
*
@@ -366,7 +366,7 @@ export interface APIThreadOnlyChannel<T extends ChannelType.GuildForum | Channel
last_message_id?: Snowflake | null;
/**
* Amount of seconds a user has to wait before creating another thread (0-21600);
* bots, as well as users with the permission `MANAGE_MESSAGES` or `MANAGE_CHANNELS`, are unaffected
* bots, as well as users with the permission `BYPASS_SLOWMODE`, are unaffected
*
* The absence of this field in API calls and Gateway events should indicate that slowmode has been reset to the default value.
*/

View File

@@ -78,7 +78,7 @@ export type GuildChannelType = Exclude<ChannelType, ChannelType.DM | ChannelType
export interface APISlowmodeChannel<T extends ChannelType> extends APIChannelBase<T> {
/**
* Amount of seconds a user has to wait before sending another message (0-21600);
* bots, as well as users with the permission `MANAGE_MESSAGES` or `MANAGE_CHANNELS`, are unaffected
* bots, as well as users with the permission `BYPASS_SLOWMODE`, are unaffected
*
* `rate_limit_per_user` also applies to thread creation. Users can send one message and create one thread during each `rate_limit_per_user` interval.
*
@@ -361,7 +361,7 @@ export interface APIThreadOnlyChannel<T extends ChannelType.GuildForum | Channel
last_message_id?: Snowflake | null;
/**
* Amount of seconds a user has to wait before creating another thread (0-21600);
* bots, as well as users with the permission `MANAGE_MESSAGES` or `MANAGE_CHANNELS`, are unaffected
* bots, as well as users with the permission `BYPASS_SLOWMODE`, are unaffected
*
* The absence of this field in API calls and Gateway events should indicate that slowmode has been reset to the default value.
*/

View File

@@ -84,8 +84,7 @@ export interface RESTPatchAPIChannelJSONBody {
nsfw?: boolean | null | undefined;
/**
* Amount of seconds a user has to wait before sending another message (0-21600);
* bots, as well as users with the permission `MANAGE_MESSAGES` or `MANAGE_CHANNELS`,
* are unaffected
* bots, as well as users with the permission `BYPASS_SLOWMODE`, are unaffected
*
* Channel types: text, newsThread, publicThread, privateThread, forum, media
*/

View File

@@ -84,8 +84,7 @@ export interface RESTPatchAPIChannelJSONBody {
nsfw?: boolean | null | undefined;
/**
* Amount of seconds a user has to wait before sending another message (0-21600);
* bots, as well as users with the permission `MANAGE_MESSAGES` or `MANAGE_CHANNELS`,
* are unaffected
* bots, as well as users with the permission `BYPASS_SLOWMODE`, are unaffected
*
* Channel types: text, newsThread, publicThread, privateThread, forum, media
*/