feat(ThreadChannel): add fetchStarterMessage (#6488)

Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
This commit is contained in:
Rodry
2021-08-24 21:22:11 +01:00
committed by GitHub
parent 4bfd5d3e74
commit 705c5a1c17
2 changed files with 12 additions and 0 deletions

1
typings/index.d.ts vendored
View File

@@ -1818,6 +1818,7 @@ export class ThreadChannel extends TextBasedChannel(Channel) {
public permissionsFor(memberOrRole: GuildMember | Role): Readonly<Permissions>;
public permissionsFor(memberOrRole: GuildMemberResolvable | RoleResolvable): Readonly<Permissions> | null;
public fetchOwner(options?: FetchOwnerOptions): Promise<ThreadMember | null>;
public fetchStarterMessage(options?: BaseFetchOptions): Promise<Message>;
public setArchived(archived?: boolean, reason?: string): Promise<ThreadChannel>;
public setAutoArchiveDuration(
autoArchiveDuration: ThreadAutoArchiveDuration,