Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How to make your bot run slash commands and prefix commands? - discord.js - Imagine ❄
d-I❄
discord.js - Imagine ❄
•
3y ago
•
3 replies
Massicraft
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
discord.js - Imagine ❄
Join
Support server for discord.js, a Node.js module to interact with Discord's apps API.
57,915
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
How to make a command handler for both prefix commands and slash commands
d-I❄
discord.js - Imagine ❄ / djs-questions
3y ago