discord bot python on reaction events code example
Example: discord bot python on reaction
@client.event
async def on_reaction_add(reaction, user):
# Steals your reaction by removing the original and adding it's own
if not user.bot and reaction.message.content == "try me":
await reaction.remove(user)
await reaction.message.add_reaction(reaction.emoji)