Commit graph

18 commits

Author SHA1 Message Date
jesopo
8cc47a9321 refuse setting location to timezones we can't understand 2020-11-09 23:32:44 +00:00
jesopo
3453479235 utilise @utils.export for function exporting in more places 2020-02-19 17:29:10 +00:00
jesopo
2d21dfa229 utils.http.Response.data should always be bytes - add .decode and .soup 2019-11-26 13:42:01 +00:00
jesopo
203216d94d Switch more settings to FunctionSettings 2019-09-04 14:27:10 +01:00
jesopo
868512fcfd add --require-config hashflag to location.py 2019-09-02 15:03:22 +01:00
jesopo
759324bb65 expose reverse geocoding through exports 2019-07-16 16:42:13 +01:00
jesopo
992f16a685 Include town name, when available, in user location name 2019-06-30 10:41:25 +01:00
jesopo
ae9d099a41 Refactor set/channelset/serverset/botset in to 'utils.Setting' objects 2019-06-28 23:16:05 +01:00
jesopo
398bd7e117 use "city, state, country" for formatted location name when available 2019-06-18 16:50:46 +01:00
jesopo
d43cef6543 Save location name from geocoding, use it for !w when available
closes #71
2019-06-18 16:36:22 +01:00
jesopo
268c5adb3c Add depends-on hashflags to relevant modules 2019-05-25 21:40:06 +01:00
jesopo
d8b625eaa9 Add setting example in location.py 2019-05-23 11:49:57 +01:00
jesopo
670f682c62 Remove '"human"' key from location settings export - we dont use it and it's
using elements of 'location' that were removed
2019-05-07 10:59:24 +01:00
jesopo
6e25505bba Remove import pytz from location.py, we don't use it 2019-05-01 16:15:42 +01:00
jesopo
3fce209a99 Change location.py to use lat/lon instead of continent/country/city 2019-04-28 15:38:26 +01:00
jesopo
cbed30ed62 Change location.py to use geocoding, change weather.py in line with it 2019-04-28 12:11:23 +01:00
jesopo
795a9a91af Remove debug print 2019-04-28 10:51:18 +01:00
jesopo
4466bc34de Add location.py, to allow users to set their location 2019-04-28 10:50:35 +01:00