#How do I get target message
5 messages · Page 1 of 1 (latest)
• 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.
So this is a reply, how do I get the targeted message, and how do I know if reply ping is enabled?
Documentation suggestion for @pastel solstice:
Message#fetchReference()
Fetches the Message this crosspost/reply/pin-add references, if available to the client
If the ping was enabled or not, you probably have to check the reply's .mentions.users and see if it has() the author of the referenced message