discord js emoji react code example

Example 1: how to send emoji as ID discord.js

msg.channel.send("<:bat_food_full:786954379223367710>");
//msg.channel.send("<:emoji_name:ID>");

/*---
To get ID, in discord; type "\" then the name of your emoji 

For Example, type
\:bat_food:
and it will return
<:bat_food:786554369626347415>
---*/

Example 2: how to test on user reaction discord.js

client.on('messageReactionAdd', (reaction, user) => {
    console.log('a reaction has been added');
});

Example 3: discord bot v12 reaction remove code

message.reactions.removeAll()