mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 21:13:30 +01:00
types(ThreadManager): add type to ThreadManager#create options (#5969)
This commit is contained in:
1
typings/index.d.ts
vendored
1
typings/index.d.ts
vendored
@@ -2625,6 +2625,7 @@ declare module 'discord.js' {
|
|||||||
name: string;
|
name: string;
|
||||||
autoArchiveDuration: ThreadAutoArchiveDuration;
|
autoArchiveDuration: ThreadAutoArchiveDuration;
|
||||||
startMessage?: MessageResolvable;
|
startMessage?: MessageResolvable;
|
||||||
|
type?: ThreadChannelType | number;
|
||||||
reason?: string;
|
reason?: string;
|
||||||
}): Promise<ThreadChannel>;
|
}): Promise<ThreadChannel>;
|
||||||
public fetch(options: ThreadChannelResolvable, cacheOptions?: BaseFetchOptions): Promise<ThreadChannel | null>;
|
public fetch(options: ThreadChannelResolvable, cacheOptions?: BaseFetchOptions): Promise<ThreadChannel | null>;
|
||||||
|
|||||||
Reference in New Issue
Block a user