enable

@ConfigurationValue(path = "botcommands.modals.enable", defaultValue = "true")
abstract val enable: Boolean(source)

Whether modal interactions should be listened for.

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

Default: true

Spring property: botcommands.modals.enable