Gateway
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Executes the request on this gateway, returning a flow of GuildMembersChunk responses.
fun Gateway.requestGuildMembers(guildId: Snowflake, builder: RequestGuildMembersBuilder.() -> Unit = { requestAllMembers() }): Flow<GuildMembersChunk>
Executes a RequestGuildMembers command configured by the builder for the given guildId on this gateway, returning a flow of GuildMembersChunk responses.
Link copied to clipboard
Starts a reconnection gateway connection with the given configuration. This function will suspend until the lifecycle of the gateway has ended.