Connecting a SQLite to my Discord.py Bot

I’m creating a discord bot on Replit and I’ve been using a a JSON file to store information but everytime I reupload the bot it resets the data is there any alternative ways I could create a dabatase?

1 Like

You can use an external database like MongoDB Atlas | Multi-cloud Developer Data Platform | MongoDB

3 Likes

Or, you could use Google Firebase’s Firestore database, which makes use of documents and collections. This is also an external database which is quite useful.
If you are using JSON data, try Google Firebase’s Realtime Database which uses JSON data.
Hope this helps!

1 Like