From 9de7ac9ba2d6cdaaa33d48afdbe72beee09d0f7f Mon Sep 17 00:00:00 2001 From: phixxy Date: Fri, 21 Jul 2023 19:21:40 -0700 Subject: [PATCH] added reacting to other people reacting --- sparkytron3000.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sparkytron3000.py b/sparkytron3000.py index dae1fea..53afae1 100644 --- a/sparkytron3000.py +++ b/sparkytron3000.py @@ -1584,7 +1584,13 @@ async def reset(ctx): else: await ctx.channel.send("You don't have permission to do that.") - +@bot.event +async def on_reaction_add(reaction, user): + if not random.randint(0,9): + message = reaction.message + emoji = reaction.emoji + await message.add_reaction(emoji) + @bot.event async def on_message(ctx):