Error when adding a String option

LSLuzifer Senpai1/23/2023
Hey,

when using ..addStringOption I get a error of ExpectedValidationError > s.instance(V). It works with adding a user option, but not a string option?
.addStringOption(option => {
    option
        .setName("question")
        .setDescription("Question to OpenAI")
        .setRequired(true)
})
FFavna1/27/2023
If this still an issue
SSpinel1/27/2023
When asking for help, make sure to provide as much detail as possible. What have you tried so far? Do you have stacktraces that you can show us? What are you trying to achieve? Try to answer these questions and others, so we do not have to ask for them afterwards.
❯ For a good guide on how to ask questions, see [the instructions that StackOverflow gives](https://stackoverflow.com/help/how-to-ask). You should try to always follow these guidelines.
❯ For an excellent video that shows how not to ask technical questions is this, watch [this YouTube video by LiveOverflow](https://youtu.be/53zkBvL4ZB4).
❯ [Asking technical questions (Clarkson)](https://www.cs.cornell.edu/courses/cs3110/2017fa/thoughtful.html)
❯ [How to ask questions the smart way (Raymond)](http://www.catb.org/~esr/faqs/smart-questions.html)