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.js
index.js deploy-commands.js config.json
2 Replies
d.js toolkit
d.js toolkit17mo ago
- 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!
Massicraft
MassicraftOP17mo ago
node -v 18.16.0 discordjs 14.11.0
Want results from more Discord servers?
Add your server