Autocomplete Manager
Allows programmatic declaration of autocomplete handlers using AutocompleteHandlerProvider in Kotlin source code.
See also
Functions
Link copied to clipboard
abstract fun autocomplete(function: KFunction<Collection<Any>>, name: String? = null, block: AutocompleteInfoBuilder.() -> Unit = {})
Declares an autocomplete function for slash command options.