types(ThreadManager): add type to ThreadManager#create options (#5969)

This commit is contained in:
Jake Ward
2021-06-29 21:03:15 +01:00
committed by GitHub
parent edab5afff9
commit 3174507d57

1
typings/index.d.ts vendored
View File

@@ -2625,6 +2625,7 @@ declare module 'discord.js' {
name: string;
autoArchiveDuration: ThreadAutoArchiveDuration;
startMessage?: MessageResolvable;
type?: ThreadChannelType | number;
reason?: string;
}): Promise<ThreadChannel>;
public fetch(options: ThreadChannelResolvable, cacheOptions?: BaseFetchOptions): Promise<ThreadChannel | null>;