How do I get target message
How do I check if message is a reply and get the target message?
5 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
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 @GeekCornerD: 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 messageOh it is includes in mentions?