Error occurs when i try and write to a json file.
Im creating a mute command for my discord bot and im adding timed mutes and idk for to fix this error if it is an error on my part. i believe its not since it works when i run it off my computer but dosent work when i run it off glitch
if(err) throw err;
Error: EACCES: permission denied, open ‘…/mutes.json’
Mute.js Code: pastebin.com/YNHRu0Le
Picture Of Directory: prntscr.com/gypwix