How to use a own prefix instead the slash commands?

hi, how do I do if I don't want to use slash commands but I want my bot to have a prefix that I choose. for example '!'
3 Replies
d.js toolkit
d.js toolkit14mo ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
galtic
galtic14mo ago
my npm discord.js version is 14.11.0 and my node -v version is 20.2.0