Json File loses some data overnight
h
asadparkar

Hey so i ve created a BOT in which user data is stored in a .json file . Everything works superfine during the data and the data gets stored without any issues . But later at the night when i add some data and sleep by the morning its gone from the json file. I dont know why this is happening Anyone has a solution for this>

You are viewing a single comment. View All
RoBlockHead

@xfinnbar it has not changed recently, take this quote from @turbio, one of the replit engineers:

this isn’t a bug with replit, this is intended behavior. Files changed programmatically won’t be persisted unless you’re using the ide. we suggest you use https://docs.replit.com/misc/database instead