Kord Extensions Help

Components

The components builder allows you to change the component registry configuration, by swapping out your own implementation.

ExtensibleBot(TOKEN) { // ... components { registry(::MyComponentRegistrySubclass) } }

Builders

Builder

Description

registry

Register a callable object (usually a constructor) that returns an alternative implementation of the ComponentRegistry type.

Last modified: 20 November 2024