Is it possible to add metadata to a message?

I'm trying to identify responses that my bot gives as a result of one specific (/) command. I don't want to differentiate messages by checking their format. I tried looking for flags, embeds, even using nonce (really shady), but every attempt failed.
Attached are images of my code, I need to do something like this, but using some kind of metadata or any other parameter that allows me to get this "emoji" data.
No description
No description
3 Replies
d.js toolkit
d.js toolkit4mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - 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
treble/luna
treble/luna4mo ago
You cant pass in custom data Use some sort of database or map and store the id of the message along with its data
Oni_The_Demon!
Oni_The_Demon!OP4mo ago
Thank you!
Want results from more Discord servers?
Add your server