featureOrNull
fun <F : Any> EventDispatcher.featureOrNull(feature: EventDispatcherFeature<*, F>): F?
Content copied to clipboard
fun <F : Any> GatewayDiscordClient.featureOrNull(feature: Feature<*, *, F>): F?
Content copied to clipboard
Gets the currently installed Feature instance, if present.