#a command prefix sill supported?

4 messages · Page 1 of 1 (latest)

blissful radish
#

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 ?

terse peakBOT
#
  • What's your exact discord.js npm list discord.js and node node -v version?
  • Not a discord.js issue? Check out #1081585952654360687.
  • 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
potent finch
#

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