lint: Support pagination for fetching thread members
This commit is contained in:
parent
0f97dc03bd
commit
1068467be7
4
typings/index.d.ts
vendored
4
typings/index.d.ts
vendored
@ -4214,7 +4214,7 @@ export class ThreadMemberManager extends CachedManager<Snowflake, ThreadMember,
|
||||
public thread: ThreadChannel;
|
||||
public readonly me: ThreadMember | null;
|
||||
public add(member: UserResolvable | '@me', reason?: string): Promise<Snowflake>;
|
||||
public fetch(): Promise<Collection<Snowflake, ThreadMember>>;
|
||||
public fetch(options?: FetchThreadMembersWithoutGuildMemberDataOptions): Promise<Collection<Snowflake, ThreadMember>>;
|
||||
public fetch(member: ThreadMember<true>, options?: FetchMemberOptions): Promise<ThreadMember<true>>;
|
||||
public fetch(
|
||||
member: Snowflake,
|
||||
@ -4224,8 +4224,6 @@ export class ThreadMemberManager extends CachedManager<Snowflake, ThreadMember,
|
||||
options: FetchThreadMembersWithGuildMemberDataOptions,
|
||||
): Promise<Collection<Snowflake, ThreadMember<true>>>;
|
||||
public fetch(member: UserResolvable, options?: FetchThreadMemberOptions): Promise<ThreadMember>;
|
||||
public fetch(options: FetchThreadMembersWithoutGuildMemberDataOptions): Promise<Collection<Snowflake, ThreadMember>>;
|
||||
|
||||
/** @deprecated Use `fetch(member, options)` instead. */
|
||||
public fetch(cache: boolean, options?: FetchMembersOptions): Promise<Collection<Snowflake, ThreadMember>>;
|
||||
public fetchMe(options?: BaseFetchOptions): Promise<ThreadMember>;
|
||||
|
Loading…
Reference in New Issue
Block a user