GlobalApplicationCommandProvider

Interface to declare global application commands.

Note: The function may be called more than once, for example, if the bot needs to update its commands.

Usage: Register your instance as a service with @BService or any annotation that enables your class for dependency injection.

See also

@Command

@JDASlashCommand

@JDAMessageCommand

@JDAUserCommand

@InterfacedService