install

suspend fun <C : Any> EventDispatcher.install(scope: CoroutineScope, feature: EventDispatcherFeature<C, *>, config: C.() -> Unit = {})
suspend fun <C : Any> GatewayDiscordClient.install(scope: CoroutineScope, feature: GatewayFeature<C, *>, config: C.() -> Unit = {})

Installs a Feature into the DiscordClient. The feature is immediately set up, and any event listeners are registered. If applicable, the feature can be configured using the config block.