a command prefix sill supported?

i want build discord bot w/ discord node.js, but i don't see any example. So does node.js finally support command_prefix like discord.py ?
3 Replies
d.js toolkit
d.js toolkit4mo 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! - Marked as resolved by OP
Mark
Mark4mo ago
It's just parsing message.content, it's a string. It's always been possible to do, but it will limit your bot's growth because discord will not grant the necessary privileged for message commands This is why it's no longer covered in the guide since discord introduced and promoted slash commands. If you want to implement message commands, that's up to you
kaxtr
kaxtrOP4mo ago
Thank you very much. That's why slash commands are always encouraged in Node.js.
Want results from more Discord servers?
Add your server