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)
})
.addStringOption(option => {
option
.setName("question")
.setDescription("Question to OpenAI")
.setRequired(true)
})
FFavna1/27/2023
If this still an issue
SSapphire1/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. 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. ❯ Asking technical questions (Clarkson)How to ask questions the smart way (Raymond)

Looking for more? Join the community!