Initially speaking, I was already considering the fact that I will need a server with php files to speak with github's API. However, this is really raising the difficulty level for me because I have basically no experience in php, I am willing to learn to overcome this issue, but I wouldn't mind direct help of course.
The email system that WackyToaster told me about here cuts my efforts in half in terms of working out 'an api to talk to github' since it is already there and setting up a little system to send an email does appear to be the easiest way to achieve this. Of course, there might be a better way, and I am willing to improve this as I gain more experience, but for now this will do.
Yes, the biggest obstacle I have right now is telling my server to allow AJAX requests so I can use the php file on my server so the game can talk to the fire bot. At the moment, I am not comfortable putting my entire game on my server for it to simply make the AJAX requests, which will work, but that means my game is on the internet and I do not want to put it on the internet like that, and not yet, but yes I am stuck with how to make that possible without getting my server to allow AJAX requests from everywhere. Your suggestion seems to indicate that I do not have to do that, and I can just allow it from the game only perhaps?
As this is very complicated for me, I am willing to speak on a different platform like Discord to make it easier if you have the time?