Package-level declarations
Types
Link copied to clipboard
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
@Target(allowedTargets = [AnnotationTarget.CLASS, AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.PROPERTY, AnnotationTarget.FIELD, AnnotationTarget.LOCAL_VARIABLE, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.CONSTRUCTOR, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.TYPEALIAS] )
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
Ignores stack frames of this class.