mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 04:23:31 +01:00
feat(ThreadManager): add slowmode option on thread creation (#6989)
Co-authored-by: SpaceEEC <spaceeec@yahoo.com>
This commit is contained in:
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -5058,6 +5058,7 @@ export interface StartThreadOptions {
|
||||
name: string;
|
||||
autoArchiveDuration?: ThreadAutoArchiveDuration;
|
||||
reason?: string;
|
||||
rateLimitPerUser?: number;
|
||||
}
|
||||
|
||||
export type Status = number;
|
||||
@@ -5115,6 +5116,7 @@ export interface ThreadCreateOptions<AllowedThreadType> extends StartThreadOptio
|
||||
startMessage?: MessageResolvable;
|
||||
type?: AllowedThreadType;
|
||||
invitable?: AllowedThreadType extends 'GUILD_PRIVATE_THREAD' | 12 ? boolean : never;
|
||||
rateLimitPerUser?: number;
|
||||
}
|
||||
|
||||
export interface ThreadEditData {
|
||||
|
||||
Reference in New Issue
Block a user