#Is there a way to make autocomplete options only accept a listed option - not "custom" inputs?

1 messages · Page 1 of 1 (latest)

forest orchid
#

Title

lime galleonBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

sterile lance
#

that is unfortunately not how autocomplete works because they only serve as suggestions. to do that, you would need to compare the inputted value on your end.

ornate eagle
#

this you will need to do input validation yourself. For example for @limpid viper I first try to use the user input exactly, and if it yields no results I do a fuzzy search with that input, grab the first 20 results, and show a string select menu to the user. You can test this by using /pokemon and typing something then hitting enter before the autocomplete populates entries

forest orchid
#

Thank you both