Skip to content

Commit

Permalink
docs: mark old fetch as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
suneettipirneni committed Oct 26, 2021
1 parent 900dde2 commit 704e705
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2898,6 +2898,9 @@ export class ThreadMemberManager extends CachedManager<Snowflake, ThreadMember,
public thread: ThreadChannel;
public add(member: UserResolvable | '@me', reason?: string): Promise<Snowflake>;
public fetch(member: UserResolvable, options?: BaseFetchOptions): Promise<ThreadMember>;
/**
* @deprecated Use fetch(member, options) instead.
*/
public fetch(cache?: boolean): Promise<Collection<Snowflake, ThreadMember>>;
public remove(id: Snowflake | '@me', reason?: string): Promise<Snowflake>;
}
Expand Down

0 comments on commit 704e705

Please sign in to comment.