name

@get:JvmName(name = "value")
val name: String(source)

Sets the name of the autocomplete handler, it must be the same as what you set in SlashOption.autocomplete.

The name must be unique, another handler cannot share it.

If this is omitted, the handler is anonymous and can only be referenced on code-declared commands, using SlashCommandOptionBuilder.autocompleteByFunction.