types: Remove duplicate rate limit for thread creation (#7465)

This commit is contained in:
Jiralite
2022-02-15 17:31:41 +00:00
committed by GitHub
parent d1bb36256f
commit 2d2de1d3fd
2 changed files with 0 additions and 2 deletions

View File

@@ -70,7 +70,6 @@ class ThreadManager extends CachedManager {
* {@link ChannelType.GuildNewsThread}</warn>
* @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>
* @property {number} [rateLimitPerUser] The rate limit per user (slowmode) for the new channel in seconds
*/
/**

View File

@@ -5003,7 +5003,6 @@ export interface ThreadCreateOptions<AllowedThreadType> extends StartThreadOptio
startMessage?: MessageResolvable;
type?: AllowedThreadType;
invitable?: AllowedThreadType extends ChannelType.GuildPrivateThread ? boolean : never;
rateLimitPerUser?: number;
}
export interface ThreadEditData {