What is the best way to store data, like an economy system, for a Discord bot? Like should I use quick.db, mongoDB, JSON files etc.
- JSON is not recommended to store large scale data as it can get corrupted.
- MongoDB is good and it’s on cloud; you don’t need any local files.
- Quick.db is a database adapter that helps you to create a database easily; it’s not a database. I would recommend the database adapter named Endb over Quick.db.
- You can use Endb to create an SQLite database, which is the most ideal type of database for a Glitch project. You can view the whole Endb documentation at https://endb.js.org.
1 Like