Discord.py Get Message Embed
How can I get the embed of a message to a variable with the ID of the message in discord.py? I get the message with uzenet = await client.get_message(channel, id), but I don't know
Solution 1:
To get the first Embed of your message, as you said that would be a dict():
embedFromMessage = uzenet.embeds[0]
To transfer the dict() into an discord.Embed object:
embed = discord.Embed.from_data(embedFromMessage)
Post a Comment for "Discord.py Get Message Embed"