bam
DIAdiscord.js - Imagine an app
•Created by bam on 9/8/2024 in #djs-questions
Cheapest way to do persistent, modifiable memory in real time without a database?
I'm using a small bot for just me and someone else for TTRPG shenanigans, and I want to track things like enemies in an encounter and what items we have equipped. It looks like the main solutions are a whole SQLite database or manually updating the .json; the json is simpler and better scaled for what we need, but it still seems kind of jank due to needing to constantly update the file. Does anyone have a smoother solution than what I've mentioned, or should I just go with updating the .json?
10 replies