Saving My Variables?
Speedrace (3)

How do I keep each of my variables the same even when I refresh the bot to edit the code? It keeps resetting

You are viewing a single comment. View All
Vandesm14 (1956)

@Speedrace If you know how to read and write files, you can save a JSON object to a variable, save it to a file, and pull the JSON from the file on program start.
PS: If you are using private data, you can use a .env file instead, since hides .env

Please mark this as answered if I helped your problem 👍