Skip to content

FetchMembersOptions

typedef · Source

Options used to fetch multiple members from a guild. Type: Object

Properties

user

user: UserResolvable | Array<UserResolvable>

The user(s) to fetch

query

nullable

query: string

Limit fetch to members with similar usernames

limit

optional

limit: number

Maximum number of members to request

Default: 0

withPresences

optional

withPresences: boolean

Whether or not to include the presences

Default: false

time

optional

time: number

Timeout for receipt of members

Default: 120e3

nonce

nullable

nonce: string

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

force

optional

force: boolean

Whether to skip the cache check and request the API

Default: false

Unofficial software. Not affiliated with or supported by Discord.