Remove Reaction When Someone Clicks On It. DISCORDJS

I have this code:

        let embed2 = new MessageEmbed()
            .setTitle(`🎀 Your Waifu:`)
            .setImage(`${waifuname}`, innerHeight = 500, innerWidth = 500)
            .addField('Rating:', `${rating}.${decimals}/10 ⭐`)
            .addField('Compatibility:', `${compatibility}/100 ♥`)
            .setColor('#f095d1')
            .setFooter(`Powered by: Nekos.life `, `https://64.media.tumblr.com/1a1c3bcc08b5a048b90139a56fe7f415/tumblr_o9ku1rVS8z1vnqjx7o2_250.png`)
            

        var mg = await message.channel.send(embed2);    ``
        mg.react('💖')

I want to delete the reaction when someone clicks on it, but I have no idea how to.

Do you mean, remove when a user reacts on the message?

Yes, like that.

The method is:

        let embed2 = new MessageEmbed()
            .setTitle(`🎀 Your Waifu:`)
            .setImage(`${waifuname}`, innerHeight = 500, innerWidth = 500)
            .addField('Rating:', `${rating}.${decimals}/10 ⭐`)
            .addField('Compatibility:', `${compatibility}/100 ♥`)
            .setColor('#f095d1')
            .setFooter(`Powered by: Nekos.life `, `https://64.media.tumblr.com/1a1c3bcc08b5a048b90139a56fe7f415/tumblr_o9ku1rVS8z1vnqjx7o2_250.png`)
            

        var mg = await message.channel.send(embed2);    ``
        mg.react('💖')
       mg.reactions.get("💖").remove(user);

So what this does?
So the bot will react, but when the user clicks in the bot will remove the reactions from the user.

1 Like