mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 14:02:02 +00:00
typings(GuildMemberManager): fetch with no parameters returns collection (#3773)
This commit is contained in:
parent
94bb268639
commit
149f72b50b
1 changed files with 1 additions and 2 deletions
3
typings/index.d.ts
vendored
3
typings/index.d.ts
vendored
|
|
@ -1827,8 +1827,7 @@ declare module 'discord.js' {
|
|||
public guild: Guild;
|
||||
public ban(user: UserResolvable, options?: BanOptions): Promise<GuildMember | User | Snowflake>;
|
||||
public fetch(options: UserResolvable | FetchMemberOptions): Promise<GuildMember>;
|
||||
public fetch(): Promise<GuildMemberManager>;
|
||||
public fetch(options: FetchMembersOptions): Promise<Collection<Snowflake, GuildMember>>;
|
||||
public fetch(options?: FetchMembersOptions): Promise<Collection<Snowflake, GuildMember>>;
|
||||
public prune(options: GuildPruneMembersOptions & { dry?: false, count: false }): Promise<null>;
|
||||
public prune(options?: GuildPruneMembersOptions): Promise<number>;
|
||||
public unban(user: UserResolvable, reason?: string): Promise<User>;
|
||||
|
|
|
|||
Loading…
Reference in a new issue