enable

abstract val enable: Boolean(source)

Whether the components feature should be enabled. Enabling this requires a ConnectionSupplier service.

You can use @RequiresComponents to disable services when this is set to false.

Default: false

Spring property: botcommands.components.enable ; Spring property takes over this config property.

See also