register

open suspend override fun register(command: SlashCommand<*, *, *>): SlashCommand<*, *, *>?

Register a SlashCommand to the registry.

This method is only called after the initialize method and allows runtime modifications.


open suspend override fun register(command: MessageCommand<*, *>): MessageCommand<*, *>?

Register a MessageCommand to the registry.

This method is only called after the initialize method and allows runtime modifications.


open suspend override fun register(command: UserCommand<*, *>): UserCommand<*, *>?

Register a UserCommand to the registry.

This method is only called after the initialize method and allows runtime modifications.