0

I run a bot that saves data using .txt files. However, since moving the bot to Heroku, Ive found that I cant seem to get the bot to save files to and edit the ones already saved in the Github the bots source code is in. Is there a way to change this? Currently, I need the bot to be able to read, write, create, and delete .txt files in the github repo, whether through some py code or through changing some settings in Heroku to make the github the default storage space. Thanks in advance!

Currently, I'm using the standard f.open("filename.txt", "a"), etc in order to use the files, but thats not working.

0 Answers0