RequiresModals
@Target(allowedTargets = [AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.ANNOTATION_CLASS] )
@ConditionalOnProperty(value = ["botcommands.modals.enable"], matchIfMissing = true)
Prevents usage of the annotated service if modals are not enabled.