withPlugins

fun GatewayBootstrap<GatewayOptions>.withPlugins(configureBlock: suspend EventDispatcher.(CoroutineScope) -> Unit): GatewayBootstrap<GatewayOptions>

Configures the event dispatcher before any events can be received.


fun GatewayBootstrap<GatewayOptions>.withPlugins(configureBlock: suspend GatewayDiscordClient.(CoroutineScope) -> Unit): Mono<Void>

Configures the gateway client.