discord.js reacting to msg in dm throws error code example
Example 1: how to test on user reaction discord.js
client.on('messageReactionAdd', (reaction, user) => {
console.log('a reaction has been added');
});
Example 2: discord bot v12 reaction remove code
message.reactions.removeAll()