added reacting to other people reacting
This commit is contained in:
parent
045131f00f
commit
9de7ac9ba2
1 changed files with 7 additions and 1 deletions
|
|
@ -1584,6 +1584,12 @@ 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue