DefaultMasterGateway

Constructors

Link copied to clipboard
constructor(gateways: Map<Int, Gateway>)

Properties

Link copied to clipboard
open override val averagePing: Duration?

Calculates the average Gateway.ping of all running gateways.

Link copied to clipboard
open override val events: Flow<ShardEvent>
Link copied to clipboard
open override 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()
Link copied to clipboard
open override fun toString(): String