RequestGuildMembers

constructor(guildId: Snowflake, query: Optional<String> = Optional.Missing(), limit: OptionalInt = OptionalInt.Missing, presences: OptionalBoolean = OptionalBoolean.Missing, userIds: Optional<Set<Snowflake>> = Optional.Missing(), nonce: Optional<String> = Optional.Missing())(source)

Parameters

guildId

id of the guild on which to execute the command.

query

prefix to match usernames against. Use an empty string to match against all members.

limit

maximum number of members to match against when using a query. Use 0 to request all members.

presences

Whether GuildMembersChunkData.presences should be present in the response.

userIds

The ids of the user to match against.

nonce

A nonce to identify the GuildMembersChunkData.nonce responses.