Error while adding option to command.
Whenever I try to add an option to my command, it breaks. Can anyone tell me why?
My commands:
My SlashCommandBuilder:
My command register system:
4 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!remove {} or return your option
in your addUserOption
The option should be returned from the callback. Remove
{}
or add return
got it
thanks
worked
thanks