EventDispatcher

Reflection-based dispatcher that invokes listener methods annotated with Event.

Handler methods must have exactly one parameter and that parameter must be a OneBotEvent subtype.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun dispatch(event: OneBotEvent)