It has already been 2 years since this script was created and Discord has had time to modify its API. Therefore, all you need to do is enter the correct link on line 34 to fix the problem. To do so, you must modify the main.py file, go to line 34, and replace the Discord link with https://discordapp.com/api/v6/users/@me. This should resolve the issue.