get message from Context menu

How do i get the message from a Message Context menu? if i log the interaction i dont see anything related to the message (or im just not looking good enough) i only see the target id
8 Replies
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Parogo_72
Parogo_723y ago
interaction.targetMessage
d.js docs
d.js docs3y ago
property MessageContextMenuCommandInteraction#targetMessage The message this interaction was sent from
Yinoguns
Yinoguns2y ago
I have a similar question about this, does it include the content and such properties, if you lack the Privileged Intent?
Parogo_72
Parogo_722y ago
No You can get the message but content, embeds and attachments will be empty
Yinoguns
Yinoguns2y ago
Ah that's a shame
Parogo_72
Parogo_722y ago
Unless the bot was mentioned in that message or its a dm
Yinoguns
Yinoguns2y ago
NP, thanks
Want results from more Discord servers?
Add your server