I was working on my discord bot when suddenly this problem occurred.
Usually, once you link a JSON file, you can get data by doing jsonFile.path to get some form of information.
I ran into a problem where I want to replace path with a variable's value.
Is there anyway that I could do this? In my case I am using a command randomly generate a number, check if that number is currently on the file, add it to the JSON file.