如何检查消息的反应

时间:2021-06-28 14:00:56

标签: python python-3.x discord.py

我正在尝试使用我的机器人执行一些命令,例如反应角色和帮助命令

它是这样的:

@bot.command()
async def help(ctx):
  em = discord.Embed(title="HELP",#etc
  #here is all about my help command
  my_msg = await ctx.send(embed=em)
  my_msg.add_reaction("#arrow-emoji)
  my_msg.add_reaction(#more arrow emoji
#...
  if #ctx.author react it:
    my_msg.edit(#page n)

那我该怎么做呢?

1 个答案:

答案 0 :(得分:0)

试试 Discord Pretty Help,它是为您在这里的目的而制作的!