Installation
# clone the repo
git clone https://github.com/allistairhakim/DiscordWeather.git
# change the working directory
cd DiscordWeather
# install the required modules
py -m pip install -r requirements.txt
Usage
- Get Free OpenWeatherMap API key
- Create an account at OpenWeatherMap
- Under the API tab subscribe to Current Weather Data
- Grab your API key in the tab called My API Keys under your username at the top
- Open discordweather.py in an IDE of your choice
- Paste your API key into the variable API_KEY
- Change the CITY, COUNTRY_CODE, and UNIT_SYSTEM according to your needs
- Run program
Contributing
Feel free to contribute!