What do you want to save?
Add Code snippet
New code examples
-
Python 2022-03-02 20:00:07
discord.File(fp=image_binary,filename=name) discord py
image = Image.open("test.png") with BytesIO() as image_binary: image.save(image_binary, "PNG") image_binary.seek(0) await ctx.send(file=discord.File(fp=image_binary,filename="image.png")) Add solution -
Python 2021-11-11 11:53:17
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") awa... Add solution -
Other 2021-11-05 05:39:13
PIL discord
await channel.send(file=discord.File('my_image.png')) Add solution