Handler

annotation class Handler(source)

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

A warning will be logged if this class does not have any handlers, i.e., methods that declare handlers with annotations.

See also

@BService

@JDAButtonListener

@JDASelectMenuListener

@AutocompleteHandler

@ModalHandler