The purpose of this is to : 1. save the latest message data to a json file
2. send the data in the json file to roblox so that i can use it in chatservice (global win messages specifically)
i have little experience in java, so it would be appreciated if someone could provide a javascript code for me.
i have my discord bot, github repository that includes the json file and token ready if that helps