I don't understand what's going on
I'm trying to create a slash command, but every time I try I get the error shown in the screenshot below.
Discord.js version: discord.js@14.13.0-dev.1692230961-24fbb11ba.0
Node.js version: node@18.17.0
My code:
5 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!setNameLocalization
takes 2 string parameters, the locale and the name, not an objectOhhh thx:3
It worked!