Commit graph

8 commits

Author SHA1 Message Date
f5c7bf8e9e Add snow emoji for precipitation when it's snowing
Also added dict for all emojis
2020-12-01 08:14:30 +01:00
fbb2c65fd0 Fixed bug where subscription job did not query weather
Also added city name in response
2020-09-25 16:24:22 +02:00
5e598f3e4f Added current weather for openweathermap 2020-09-24 20:03:16 +02:00
4f403561ba Made conversation nicer
Messages now get deleted and deleted for a smoother experience.
Other small changes:
 - States as constants
 - String formatting with f-string-literals
2020-09-24 19:34:29 +02:00
1b6afde312 Rain in hourly weather now displayed correctly
Was a dict conntaining '1h' as key. The value for this key is now used.
Also renamed get_weather() to query_weather() as it is not a getter but querying the api.
2020-09-24 11:03:16 +02:00
f6d0db3f41 Some code tweaks and improvements
str-function for weather now more modular
daily weather for first two days is not included anymore
Fixed bug: each daily weather now includes the real temperatures, not the ones from the last day
2020-09-19 19:21:26 +02:00
e623b317c9 Fixed city search case-sensitive
Closes #2
2020-09-19 13:00:30 +02:00
bcdf9a81a3 Added OpenWeatherMap API as new command
Now gives hourly and daily weather information for every city listed in the included list.
2020-09-18 22:36:37 +02:00