mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +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;
|
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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user