MessageCreate handle command does not work
In the process of moving from v13 to v14, the slash command was successful, but the normal command did not work, so I'm asking you a question
discord.js: 14.14.1
Node.js: 20.11.0
6 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 OPShow your client constructor
We highly recommend only specifying the intents you actually need.
- Note, that
98303
, 32767
or whatever other magic number you read that represents "all intents", gets outdated as soon as new intents are introduced.
- The number will always represent the same set of intents, and will not include new ones. There is no magic "all intents" bit.Consider not using a magic number you dont know the meaning of
Because there's your issue
oh Thank you