]> jfr.im git - erebus.git/commitdiff
weather - fix bug from typo
authorzonidjan <redacted>
Fri, 29 Dec 2017 01:04:08 +0000 (19:04 -0600)
committerzonidjan <redacted>
Fri, 29 Dec 2017 01:04:08 +0000 (19:04 -0600)
modules/weather.py

index 9fb0f4231e562d5001cd592cfb2c37fe23b7e02a..6b507713f26cb351877fb04768df7ab6e8afe161 100644 (file)
@@ -48,7 +48,7 @@ def _weather(place):
                        'link': current['forecast_url'],
                }
        else:
-               return "I don't know where to look! Try %sSETINFO LOCATION <your location>" % (bot.parent.trigger)
+               return "I don't know where to look! Try %sSETINFO LOCATION <your location>" % (lib.parent.trigger)
 
 @lib.hook(('weather','w'), needchan=False, wantchan=True)
 @lib.help('[<location>]', 'show weather for your location')