docs(types): update slowmode-bypassing permission information in the channel object (#4980)

Co-authored-by: Fleny <Fleny113@outlook.com>
This commit is contained in:
Awesome Stickz
2026-04-22 19:53:19 +02:00
committed by GitHub
co-authored by Fleny
parent ff1a349e1a
commit b52313edbc
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -441,7 +441,7 @@ export interface Channel {
bitrate?: number; bitrate?: number;
/** The user limit of the voice or stage channel */ /** The user limit of the voice or stage channel */
userLimit?: number; userLimit?: number;
/** 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_channel`, are unaffected */ /** Amount of seconds a user has to wait before sending another message (0-21600); bots, as well as users with the permission `BYPASS_SLOWMODE`, are unaffected */
rateLimitPerUser?: number; rateLimitPerUser?: number;
/** Id of the creator of the thread */ /** Id of the creator of the thread */
ownerId?: bigint; ownerId?: bigint;
+1 -1
View File
@@ -47,7 +47,7 @@ export interface DiscordChannel extends Partial<DiscordThreadCreateExtra> {
* Amount of seconds a user has to wait before sending another message (0-21600) * Amount of seconds a user has to wait before sending another message (0-21600)
* *
* @remarks * @remarks
* Bots, as well as users with the permission `manage_messages` or `manage_channel`, 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. * `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.
*/ */
rate_limit_per_user?: number; rate_limit_per_user?: number;
+1 -1
View File
@@ -107,7 +107,7 @@ export interface ModifyChannel {
* Amount of seconds a user has to wait before sending another message in seconds (0-21600) * Amount of seconds a user has to wait before sending another message in seconds (0-21600)
* *
* @remarks * @remarks
* Bots and users with the permission `MANAGE_MESSAGES` or `MANAGE_CHANNEL`, are unaffected * Bots and users with the permission `BYPASS_SLOWMODE`, are unaffected
* *
* This is only valid when editing a guild channel of type {@link ChannelTypes.GuildText}, {@link ChannelTypes.GuildVoice}, {@link ChannelTypes.GuildStageVoice} {@link ChannelTypes.GuildForum} or {@link ChannelTypes.GuildMedia}, or a thread. * This is only valid when editing a guild channel of type {@link ChannelTypes.GuildText}, {@link ChannelTypes.GuildVoice}, {@link ChannelTypes.GuildStageVoice} {@link ChannelTypes.GuildForum} or {@link ChannelTypes.GuildMedia}, or a thread.
*/ */
+1 -1
View File
@@ -74,7 +74,7 @@ export interface CreateGuildChannel {
bitrate?: number; bitrate?: number;
/** The user limit of the voice channel (voice only) */ /** The user limit of the voice channel (voice only) */
userLimit?: number; userLimit?: number;
/** 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_channel`, are unaffected */ /** Amount of seconds a user has to wait before sending another message (0-21600); bots, as well as users with the permission `BYPASS_SLOWMODE`, are unaffected */
rateLimitPerUser?: number; rateLimitPerUser?: number;
/** Sorting position of the channel (channels with the same position are sorted by id) */ /** Sorting position of the channel (channels with the same position are sorted by id) */
position?: number; position?: number;