Skip to content
← Back to Community
Auto Saving JSON Data
Profile icon
DefaultModels

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.

Answered by EpicGamer007 [earned 5 cycles]
View Answer
Voters
Profile icon
AustinStewart6
Profile icon
HumanBrain
Profile icon
DefaultModels
Comments
hotnewtop
Profile icon
EpicGamer007

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.

Profile icon
Impostea

Sus impostea

Profile icon
sexxs

DefaultModels where is new browser gonna be

Profile icon
sexxs

I guess we wait for DefaultModels...

Profile icon
sexxs

@sexxs default had like 21k runs tho...

Profile icon
DefaultModels

@sexxs Hey. I’m working on it. I didn’t know this many people actually used it more than once and i’ll find a fix to it. Please stop contacting me every time i do something

Profile icon
mcro

what happened to chromium

Profile icon
DefaultModels

Taken down, I'm building a new one that doesn't use repl.it @mcro

Profile icon
mcro

Did you take it down or did someone make you do it. Also i forked it before it was taken down but its much slower and videos are more laggy. How can i fix that? (will your new one be on sites.google so i can use it on my chromebook?)@DefaultModels

Profile icon
DefaultModels

Repl.it did. Its because I had it boosted for more RAM and CPU I think. I’m not sure where I’ll publish next. @mcro

Profile icon
mcro

is this not allowed on [email protected]

Profile icon
mcro

also how do i boost for more ram and [email protected]

Profile icon
sexxs

@mcro its hacker subsctiption..

Profile icon
DefaultModels

As @sexxs said it it in fact only for hacker plans. Proxies are against TOS @mcro

Profile icon
mcro

got a discord? so you can teach me to code [email protected]

Profile icon
6w6

hey was your virtual browser taken down or did you delete it yourself

Profile icon
DefaultModels

Taken down, I'm building a new one that doesn't use repl.it @6w6

Profile icon
6w6