Sending data to a file

ok so im having trouble finding out how to store a users data
like a user catches a pokemon but when the bot restarts they lose all the mons caught

my project is here

1 Like

Hi @godboyxd, welcome to the Glitch forums! Can you tell us a little more about what you’re looking for, or what errors you’re encountering/what in particular is blocking you? When you say “it should change” do you mean like, something should be added to a file which will persist in between instances of the bot running/waking up? Seems like a cool project!

1 Like

I think the better way to do it is using a database. Use SQL if you already know how to use it, or use quick.db or enmap

would you mind helping me out

Of course. Just send me a message with your project link, and I’ll help you.