How to get content from a reply message

Hi, I'm very new in DiscordJS, and try to create first bot with /echo command, I already can make echo command like this: /echo <message content>. But for the next update. I don't know how to implement that.

  • Problem: I want to make a /echo command. That will send a message with content from a message had replied. As the attachment image. The bot should be send message "Hello word!"
  • Question: Can Discord bot/DiscordJS can get message content from a replied message?
image.png
Was this page helpful?