how to make your discord bot react to messages 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');
});