Skip to content
← Back to Community
Unable to save images
Profile icon
dylanharding33

Hello, I'm using discord.py to make a bot. It's going fairly well.
However, I'm unable to save images, I'm given no errors but the image doesn't appear. My usage is correct. Is anyone able to help?

Voters
Profile icon
kittenish
Profile icon
dylanharding33
Comments
hotnewtop
Profile icon
Highwayman

Repl.it has shaky terms when it comes to programmatically saving files/data. I suggest you use a remote database instead, like jsonstore (obviously not in python, but you get my meaning, ya?)

Profile icon
Vandesm14

@Highwayman Jsonstore.io has a REST API, which can be accessed via python's HTTP libraries.

Profile icon
dylanharding33

@Vandesm14 how would i go about that?

Profile icon
Vandesm14