MasterGateway

Properties

Link copied to clipboard
abstract val averagePing: Duration?

Calculates the average Gateway.ping of all running gateways.

Link copied to clipboard
abstract val events: Flow<ShardEvent>
Link copied to clipboard
abstract val gateways: Map<Int, Gateway>

Functions

Link copied to clipboard
open suspend fun detachAll()
Link copied to clipboard
open suspend fun sendAll(command: Command)
Link copied to clipboard
inline suspend fun MasterGateway.start(token: String, config: GatewayConfigurationBuilder.() -> Unit = {})
Link copied to clipboard
open suspend fun startWithConfig(configuration: GatewayConfiguration)
Link copied to clipboard
open suspend fun stopAll()