How can I mention the user who reacted to my bot message?
I want to send message like, "@user reacted to my message!", here is my code:
msg.awaitReactions((reaction, user) => user.id == user.id && (reaction.emoji.name == ''), { max: 1, time: 30000 }).then(collected => {
if (collected.first().emoji.name == '') {
//here I want to send the message with the mention
} else {
//I added it for case that I going to use yes or no react question
}
}).catch(() => {
//maybe I will add here message that says the time passed.
});