Preview environment

interface FetchMembersOptions

export interface FetchMembersOptions

Options used to fetch multiple members from a guild.

optional
limit? : number

Maximum number of members to request

optional
nonce? : string

Nonce for this request (32 characters max - default to base 16 now timestamp)

optional
query? : string

Limit fetch to members with similar usernames

optional
time? : number

Timeout for receipt of members (default: 120e3)

optional
user? : UserResolvable | readonly UserResolvable[]

The user(s) to fetch

optional
withPresences? : boolean

Whether to include the presences