Reputation: 33
Is there are any way to Attach Image from file to Discord.py embed "thumbnail"?
embed.set_thumbnail(url=" Attached image")
Upvotes: 1
Views: 1443
Reputation:
file = discord.File("file path", filename="image.png")
embed = discord.Embed()
embed.set_thumbnail(url="attachment://image.png")
await messagable.send(file=file, embed=embed)
Upvotes: 2