Package-level declarations

Types

Link copied to clipboard
annotation class ComponentData

Sets this parameter as data coming from IPersistentActionableComponent.bindTo.

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

Declares this function as a component timeout handler with the given name.

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

Declares this function as a component group timeout handler with the given name.

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

Declares this function as a button listener with the given name.

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

Declares this function as a select menu listener with the given name.

Link copied to clipboard
@Condition(type = RequiresComponentsChecker::class)
@ConditionalOnProperty(value = ["botcommands.components.enable"])
annotation class RequiresComponents
Link copied to clipboard
annotation class TimeoutData

Sets this parameter as data coming from IPersistentTimeoutableComponent.timeout.