mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 18:43:31 +01:00
types: Remove duplicate rate limit for thread creation (#7465)
This commit is contained in:
@@ -70,7 +70,6 @@ class ThreadManager extends CachedManager {
|
|||||||
* {@link ChannelType.GuildNewsThread}</warn>
|
* {@link ChannelType.GuildNewsThread}</warn>
|
||||||
* @property {boolean} [invitable] Whether non-moderators can add other non-moderators to the thread
|
* @property {boolean} [invitable] Whether non-moderators can add other non-moderators to the thread
|
||||||
* <info>Can only be set when type will be {@link ChannelType.GuildPrivateThread}</info>
|
* <info>Can only be set when type will be {@link ChannelType.GuildPrivateThread}</info>
|
||||||
* @property {number} [rateLimitPerUser] The rate limit per user (slowmode) for the new channel in seconds
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
1
packages/discord.js/typings/index.d.ts
vendored
1
packages/discord.js/typings/index.d.ts
vendored
@@ -5003,7 +5003,6 @@ export interface ThreadCreateOptions<AllowedThreadType> extends StartThreadOptio
|
|||||||
startMessage?: MessageResolvable;
|
startMessage?: MessageResolvable;
|
||||||
type?: AllowedThreadType;
|
type?: AllowedThreadType;
|
||||||
invitable?: AllowedThreadType extends ChannelType.GuildPrivateThread ? boolean : never;
|
invitable?: AllowedThreadType extends ChannelType.GuildPrivateThread ? boolean : never;
|
||||||
rateLimitPerUser?: number;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ThreadEditData {
|
export interface ThreadEditData {
|
||||||
|
|||||||
Reference in New Issue
Block a user