Hello, Glitch Community!
Long time since last time I’ve posted anything here!
So, at the moment I have a massive project, that will require JSON databases. Though, I’ve heard that Glitch apparently doesn’t allow you to edit specific things in a JSON file.
Is this the case? And if not, then what am I supposed to use to edit information on a specific item, store information, and get information?
I am imagining, to get the information in JavaScript, it would be like
const db = require(`\databases\${message.guild.id}.json`);
if (db.server.premium === true) {
// Actions
}
Though, I am not sure, as I’ve never used JSON in the past.
If JSON is not possible to; edit information from specific items, get information from specific items, and create + store loads of information at once, we will have to move our project to a paid host before opening our bot to the public. However, if we can do those things, we will actually be able to keep on Glitch while it’s in the betas.
Thank you for your time.