Skip to content

MakerOfMoon/WeatherRPC

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

WeatherRPC

A Discord Rich Presence to show current weather in a city. Requires py and the desktop discord client.

Setting up 🔧

  1. Clone GitHub repo
  2. Open a terminal shell in the folder and run pip install -r requirements.txt
  3. 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.
  4. 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.
  5. To the left, click on OAuth2 and you will see the client ID. Copy it and save it somewhere.
  6. Open main.py in a text editor or an IDE. Locate this section:

image

  1. Replace the client id and variables while leaving them in the ''
  2. Add your location by replacing the CITY/COUNTRY. It should look something like this: 'Chicago/United States'. This data is private.
  3. Save the script and run it
  4. Done!