Package-level declarations

Types

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class BEventListener(val mode: BEventListener.RunMode = RunMode.SHARED, val priority: Int = 0, val ignoreIntents: Boolean = false, val ignoredIntents: Array<GatewayIntent> = [], val timeout: Long = 0, val timeoutUnit: TimeUnit = TimeUnit.SECONDS)

Annotates a function as an event listener for a JDA or BC event.

Link copied to clipboard

Opt-in marker annotation for core APIs that are considered experimental and are not subject to compatibility guarantees: The behavior of such API may be changed or the API may be removed completely in any further release.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
@Bean
@Component
annotation class Handler

Enables this class to be scanned for one or more handler.
This is a specialization of @BService for handlers.

Link copied to clipboard

Ignores stack frames of this class.