Answers for "discord.py how to send image embed"

5

local image embed discord py

embed = discord.Embed(title="Title", description="Desc", color=0x00ff00) #creates embed
file = discord.File("path/to/image/file.png", filename="image.png")
embed.set_image(url="attachment://image.png")
await ctx.send(file=file, embed=embed)
Posted by: Guest on April-18-2021

Code answers related to "discord.py how to send image embed"

Python Answers by Framework

Browse Popular Code Answers by Language