Answers for "how to get embed attributes discord.py"

0

discord.py read embed on message

@client.event
async def on_message(message):
	embeds = message.embeds
    for embed in embeds:
        print(embed.to_dict())
Posted by: Guest on October-16-2020
0

how to get embed attributes discord.py

@bot.command(pass_context=True)
async def test(ctx):

    e = discord.Embed(title=f'{message.author.mention} Geeft   een hug...', color=0x614242)
    e.set_image( url=random.choice(random_hit))
  # e.set_image(url="https://media0.giphy.com/media/W5C9c8nqoaDJWh34i6/giphy.gif")
    await ctx.send(embed=e)
Posted by: Guest on February-06-2022

Code answers related to "how to get embed attributes discord.py"

Python Answers by Framework

Browse Popular Code Answers by Language