react function discord js 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');
});