Package-level declarations

Types

Link copied to clipboard
annotation class ModalData

Sets this parameter as data coming from ModalBuilder.bindTo.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class ModalHandler(val name: String)

Declares this function as a modal handler for the specified modal name.

Link copied to clipboard
annotation class ModalInput(val name: String)

Set this parameter as a modal input.

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

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