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
Was this page helpful?