Gathers information from the National Weather Service in the United States and relays back in Discord using embeds. This bot was made for the Major League Hacking (MLH) RookieHacks Event spanning from 05/29/2020 to 05/31/2020
Allows you to quicly and easily view the weather forcast and active alerts for a location.
Please Visit https://weather.gov for official information from the National Weather Service
- !alerts (location) - Returns first five alerts for a specified area
- !areas - Returns list of areas for !alerts command
- !coords (location) - Returns coorditates, NWS gridpoint, and NWS office for a specified location
- !forecast (location) - Returns forecast for next ~36 hours for a specified location
- !hourly (location) - Returns hourly forecast for next ~4 hours for a specified location
- !info - Returns list of information about bot and dependencies
- Clone the repository using
git clone https://github.com/MichaelRP1/rookiehacks - Create a Discord application here
- Create a
creds.jsonfile using thecreds_template.jsonfile as a template and place your Discord app token in thetokenfield. - Change the
User-Agentfield ingeocode.py - Run
pip install requirements.txtto install dependencies - Run
python discordbot.py