RequestGuildMembersBuilder

A builder for a RequestGuildMembers command.

Parameters

guildId

The id of the guild on which to execute the command.

Constructors

Link copied to clipboard
constructor(guildId: Snowflake)

Properties

Link copied to clipboard
Link copied to clipboard
var limit: Int?

The maximum number of members to match against when using a query. Use 0 to request all members. Intent.GuildMembers is required when setting the query to "" and limit to 0.

Link copied to clipboard

A nonce to identify the GuildMembersChunkData.nonce responses.

Link copied to clipboard

Whether GuildMembersChunkData.presences should be present in the response. Intent.GuildPresences is required to enable presences.

Link copied to clipboard

The prefix to match usernames against. Use an empty string to match against all members. Intent.GuildMembers is required when setting the query to "" and limit to 0.

Link copied to clipboard

The ids of the user to match against.

Functions

Link copied to clipboard

Utility function that sets the required fields for requesting all members.

Link copied to clipboard