Config.js slash command file causing an unknown error
SrcShare
Easily share your source code with other developers.
5 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.Note the link contains the config.js file and the slash command handler
maybe it would be more helpful if you didn't override the actual error's message with your own
k
6.options[1].options[2][APPLICATION_COMMAND_OPTIONS_REQUIRED_INVALID]: Required options must be placed before non-required optionsseems pretty straightforward