RequiresModals

@Condition(type = RequiresModalsChecker::class)
@ConditionalOnProperty(value = ["botcommands.modals.enable"], matchIfMissing = true)
annotation class RequiresModals(source)

Prevents usage of the annotated service if modals are not enabled.

See also