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,7 +1584,13 @@ async def reset(ctx):
|
||||||
else:
|
else:
|
||||||
await ctx.channel.send("You don't have permission to do that.")
|
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
|
@bot.event
|
||||||
async def on_message(ctx):
|
async def on_message(ctx):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue