Regex error when setting name of subcommand integer option
Hey. I'm trying to set the name of a subcommand option, yet I get this weird regex error from doing so that I haven't quite figured out yet. Any thoughts? See comments for error.
Related code snippet:
2 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!
- ✅
Marked as resolved by OPError message:
Running node v v22.14.0 and discord.js v 14.18.0
i am an idiot
Thank you @Qjuh, that is in fact the problem. I've been stuck on this for over 20 minutes.