Auto Saving JSON Data
So my discord bot is starting to have enought users for them to report problems. One of them is that when the bot restarts itself, not intentionally, the balances and data stored on them is reset to the last time I was editing the repl. Is there any way to make the repl not reset json data WITHOUT changing libraries and other things as I don't have time for that? Thanks.
Voters
File changes will not save in replit unfortunately. You have to use an external database such as repldb or you could hook your program up to something such as firebase. Unfortunately, file changes will not be saved so you will have to change code and stuff.