mirror of
https://github.com/discordeno/discordeno.git
synced 2026-05-21 02:40:08 +00:00
docs(types): update slowmode-bypassing permission information in the channel object (#4980)
Co-authored-by: Fleny <Fleny113@outlook.com>
This commit is contained in:
@@ -441,7 +441,7 @@ export interface Channel {
|
||||
bitrate?: number;
|
||||
/** The user limit of the voice or stage channel */
|
||||
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;
|
||||
/** Id of the creator of the thread */
|
||||
ownerId?: bigint;
|
||||
|
||||
@@ -47,7 +47,7 @@ export interface DiscordChannel extends Partial<DiscordThreadCreateExtra> {
|
||||
* Amount of seconds a user has to wait before sending another message (0-21600)
|
||||
*
|
||||
* @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?: number;
|
||||
|
||||
@@ -107,7 +107,7 @@ export interface ModifyChannel {
|
||||
* Amount of seconds a user has to wait before sending another message in seconds (0-21600)
|
||||
*
|
||||
* @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.
|
||||
*/
|
||||
|
||||
@@ -74,7 +74,7 @@ export interface CreateGuildChannel {
|
||||
bitrate?: number;
|
||||
/** The user limit of the voice channel (voice only) */
|
||||
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;
|
||||
/** Sorting position of the channel (channels with the same position are sorted by id) */
|
||||
position?: number;
|
||||
|
||||
Reference in New Issue
Block a user