RegisterManager

Functions

Link copied to clipboard
fun JDABuilder.registerAll(): JDABuilder

Registers all ListenerAdapters and EventListeners in the given package.

Link copied to clipboard
fun JDA.registerCommands(): JDA

Registers slash commands for the JDA instance. It scans for classes annotated with SlashCommand in the specified package and registers the commands with their localized names and descriptions.

Link copied to clipboard