autocompleteVersions

inline fun <T> ConverterBuilder<T>.autocompleteVersions(crossinline versions: suspend AutoCompleteInteraction.(event: AutoCompleteInteractionCreateEvent) -> List<String>)

Define autocomplete for a list of strings. versions is a supplier of the list of strings to autocomplete from.