discord js remove reaction from user code example
Example 1: remove a user from a reaction discord.js
<Message>.reactions.resolve(EMOJI).users.remove(USER)
<MessageReaction>.users.remove(USER)
Example 2: discord.js remove reaction
Since this question is getting a lot of attraction, I decided to post what worked for me
Remove Specific User's Specific Reaction
const msg = await channel.messages.fetch(MessageID);
msg.reactions.resolve("REACTION EMOJI,
REACTION OBJECT OR REACTION ID").users.remove("ID OR OBJECT OF USER TO REMOVE");
Note: If using an older version of discord.js, simply replace channel.messages.fetch with channel.fetchMessage
Example 3: discord bot remove message reaction
@client.event
async def on_reaction_add(reaction, user):
if reaction.message.content == "try me":
await reaction.remove(user)