I used that method in the video because the code for it is simpler. If you don't want to save the image onto your pc (but save it temporarily), then you have to do: import io with io.BytesIO() as image_binary: img.save(image_binary, 'png') img.seek(0) await ctx.send(file=nextcord.File(fp=image_binary, filename='dog-edited.png'))
Here's the link to the playlist for the entire discord bot series:
th-cam.com/video/1U4FR4YN8X4/w-d-xo.html
it's rly cool! tyvm! this video extremly helped me!
You're welcome! Thanks for the comment. I appreciate it :)
This very useful video, thank u!
I loved it, thank you, what a cool content I already put in my bot :)
Thank you so much for the support! I appreciate it :)
I need help, the image sends but the text / font doesn't. I done everything and even tried to resize it but nothing worked, can you help?
Hmm that's weird. Feel free to join my discord server here so we can talk in more detail about the issue you're facing: discord.gg/XH3AK3hN6p
Hey bro can you make a video on nextcord pages with buttons?
Hey! That's a great idea. I'll make a video on it soon :)
@@Dannycademy thanks that would be great
@@unknownengineer4181 done!
@@Dannycademy thank you I watched it earlier today! Do you have a video on slash commands?
@@unknownengineer4181 Hey that's great! I don't have a video on it yet, but I plan on making one very soon :D
why does it save the dog-edited.jpg/png onto your pc or where you're hosting it??
I used that method in the video because the code for it is simpler. If you don't want to save the image onto your pc (but save it temporarily), then you have to do:
import io
with io.BytesIO() as image_binary:
img.save(image_binary, 'png')
img.seek(0)
await ctx.send(file=nextcord.File(fp=image_binary, filename='dog-edited.png'))
how do you find a image by adding it's path?