Guild Application Command Manager
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
fun slashCommand(name: String, function: KFunction<Any>?, builder: TopLevelSlashCommandBuilder.() -> Unit)
Declares the supplied function as a slash command.
Link copied to clipboard
Declares the supplied function as a user context command.