AbstractApplicationCommandManager
Inheritors
Properties
Link copied to clipboard
Default value of TopLevelApplicationCommandBuilder.contexts.
Link copied to clipboard
Default value of TopLevelApplicationCommandBuilder.integrationTypes.
Functions
Link copied to clipboard
fun messageCommand(name: String, function: KFunction<Any>, builder: MessageCommandBuilder.() -> Unit)
Declares the supplied function as a message context command.
Link copied to clipboard
Declares a top-level, non-executable slash command. This is used for subcommands and/or subcommand groups.
Link copied to clipboard
fun slashCommand(name: String, function: KFunction<Any>?, builder: TopLevelSlashCommandBuilder.() -> Unit)
Declares the supplied function as a slash command. For subcommands and subcommand groups, use ofSubcommands instead.
Link copied to clipboard
Declares the supplied function as a user context command.