Package-level declarations

Types

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class BEventListener(val async: Boolean = false, 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
@ConfigurationPropertiesScan(basePackageClasses = [JDAConfiguration::class, BotCommandsCoreConfiguration::class])
@EnableAutoConfiguration
annotation class EnableBotCommands

Entry point annotation for Spring projects.

Link copied to clipboard
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.