Im quite new to NodeJS, and i found an issue i can't get around, and it's stopping me from learning and getting further with what im trying to do.
Im using a module called fivemreborn-query, and it query's a server and get some data.
I got a [login to view URL], where i wanna save the data to everytime it updates, since i wanna use it to update a Discord server, the discord part i do understand, and i do understand the basic usage of fivereborn, but do not understand how to save the data to my json array from config.json.
I have added the project im working on, since the code is very very basic righht now, since i got to a hold getting the data saved the way i want it so i can use it for other things.
10 freelancers are bidding on average $23 for this job
I;ve tried to fix your script but it shows - incorrect login details were provided, nevertheless you can try to write the config file with [login to view URL]