@bot.event
async def on_raw_reaction_add(payload):
channel = bot.get_channel(payload.channel_id)
msg = await channel.fetch_message(payload.message_id)
embed = msg.embeds[0]
emoji = payload.emoji
if user.bot:
return
if emoji == "emoji 1":
fixed = bot.get_channel(733722567449509958)
await fixed.send(embed=embed)
elif emoji == "emoji 2":
notBug = bot.get_channel(733722584801083502)
await notBug.send(embed=embed)
elif emoji == "emoji 3":
notFixed = bot.get_channel(733722600706146324)
await notFixed.send(embed=embed)
else:
return
元芳怎么了
相关分类