2
2
20two.may2020-09-27 11:43:29
Python
20two.may, 2020-09-27 11:43:29

How to add reaction to Embed?

How can a bot add a reaction to its own Embed, which it sent to the chat?
I tried the function , but it does not work with Embed. await ctx.message.add_reaction('')

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
KeySh1e, 2020-09-27
@20two_may

@bot.command()
async def test (ctx):
  embed=discord.Embed(title="embed", description="embed")
  embed.add_field(name="embed", value="embed", inline=False)
  message = await ctx.send (embed=embed)
  await message.add_reaction('')

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question