A Discord Rich Presence to show current weather in a city. Requires py and the desktop discord client.
- Clone GitHub repo
- Open a terminal shell in the folder and run
pip install -r requirements.txt
- Go to https://www.weatherapi.com/signup.aspx and make an account. After logging in at the start of the page you will find an API Key. Copy it and save it somewhere.
- Go to https://discord.com/developers/applications/ and make a new application. Name it something nice (e.g. Weather) as it will show up in your status.
- To the left, click on OAuth2 and you will see the client ID. Copy it and save it somewhere.
- Open main.py in a text editor or an IDE. Locate this section:
- Replace the client id and variables while leaving them in the ''
- Add your location by replacing the CITY/COUNTRY. It should look something like this:
'Chicago/United States'
. This data is private. - Save the script and run it
- Done!