How to make your bot run slash commands and prefix commands?
I configured my bot files according to the official discordjs guide, how can I do if I want it to also execute commands with a prefix?
commands
events
interactionCreate.js ready.jsindex.js deploy-commands.js config.json
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!node -v 18.16.0
discordjs 14.11.0