I'm trying to make some code on python to edit someone's profile pic, but all i've got so far is this you should consider that this will save a file onto your discord bot server, so this is extremely crude, a malformed or maliciously formed jpeg file could lead to some sort of remote vulnerability.