2017-05-22 18:52:09 -04:00
|
|
|
# WeatherBot
|
|
|
|
|
|
|
|
* This is a bot that sends weather information to a selected stream on
|
|
|
|
request.
|
|
|
|
|
|
|
|
* Weather information is brought to the website using an
|
|
|
|
OpenWeatherMap API. The bot posts the weather information to the
|
|
|
|
stream from which the user inputs the message. If the user inputs a
|
|
|
|
city that does not exist, the bot displays a "Sorry, city not found"
|
|
|
|
message.
|
|
|
|
|
|
|
|
* Before using this bot, you have to generate an OpenWeatherMap API
|
2017-06-18 11:24:30 -04:00
|
|
|
key and replace the dummy value in weather.conf.
|
2017-05-22 18:52:09 -04:00
|
|
|
|
|
|
|
![Example Usage](assets/screen1.png)
|
|
|
|
![Wrong City](assets/screen2.png)
|