Autocomplete options fields of the `/` command.
Good morning. I wanted to come and ask you a question about the autocompletion of the options fields of a
I thought of making a condition that checks if the focus option is the color option or if the focus option is the category option. But it doesn't work, I can't even get the option separately. Do you have an idea to guide me?
/ command. When applying autocompletion to a single option field: let's say I have the /help command with option => command, when I simply need to apply autocompletion to a single option field I manage to find the solution. However, I did some research, and when I want to apply autocompletion to several fields: Let's take the example of the /funny command, which takes the option => title, color and category, here I want to apply autocompletion to the color option and the category option but with different values outside, I can't find how to achieve this.I thought of making a condition that checks if the focus option is the color option or if the focus option is the category option. But it doesn't work, I can't even get the option separately. Do you have an idea to guide me?