ComponentsBuilder

Builder used to configure the bot's components settings.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun registry(builder: () -> ComponentRegistry)

Register a builder (usually a constructor) returning a ComponentRegistry instance, which may be useful if you need to register a custom subclass.