discord js send message when user reacts code example
Example: how to test on user reaction discord.js
client.on('messageReactionAdd', (reaction, user) => {
console.log('a reaction has been added');
});
client.on('messageReactionAdd', (reaction, user) => {
console.log('a reaction has been added');
});