restOnly

@KordExperimental
inline fun restOnly(token: String, builder: KordRestOnlyBuilder.() -> Unit = {}): Kord(source)

Builds a Kord instance configured by the builder.

The instance only allows for configuration of REST related APIs, interacting with the gateway or its events will result in no-ops.

Similarly, cache related functionality has been disabled and replaced with a no-op implementation.