KordBuilder
Properties
The CoroutineDispatcher kord uses to launch suspending tasks. Dispatchers.Default by default.
The CoroutineDispatcher kord uses to launch suspending tasks. Dispatchers.Default by default.
The CoroutineDispatcher kord uses to launch suspending tasks. Dispatchers.Default by default.
The default strategy used by entities to retrieve entities. EntitySupplyStrategy.cacheWithRestFallback by default.
The default strategy used by entities to retrieve entities. EntitySupplyStrategy.cacheWithRestFallback by default.
The default strategy used by entities to retrieve entities. EntitySupplyStrategy.cacheWithRestFallback by default.
Enable adding a Runtime.addShutdownHook to log out of the Gateway when the process is killed.
The event flow used by Kord.eventFlow to publish events.
The event flow used by Kord.eventFlow to publish events.
The event flow used by Kord.eventFlow to publish events.
The GatewayEventInterceptor used for converting gateway events to core events.
The GatewayEventInterceptor used for converting gateway events to core events.
The GatewayEventInterceptor used for converting gateway events to core events.
The client used for building Gateways and RequestHandlers. A default implementation will be used when not set.
The client used for building Gateways and RequestHandlers. A default implementation will be used when not set.
The client used for building Gateways and RequestHandlers. A default implementation will be used when not set.
Enables stack trace recovery on the currently defined RequestHandler.
Enables stack trace recovery on the currently defined RequestHandler.
Enables stack trace recovery on the currently defined RequestHandler.
Functions
Configures the DataCache for caching.
Configures the DataCache for caching.
Configures the DataCache for caching.
Configures the RequestHandler for the RestClient.
Configures the RequestHandler for the RestClient.
Configures the RequestHandler for the RestClient.
Configures the shards this client will connect to, by default 0 until recommended
. This can be used to break up to client into multiple processes.
Configures the shards this client will connect to, by default 0 until recommended
. This can be used to break up to client into multiple processes.