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?
7 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by staffUnknown User•3mo ago
Message Not Public
Sign In & Join Server To View
oh
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View
well it's a discord bot
I'm storing data with commands and fetching it with other commands
I can move it to there though
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View
fair!