]> jfr.im git - erebus.git/commitdiff
weather - include trigger when user's location is unknown
authorzonidjan <redacted>
Wed, 8 Nov 2017 00:27:47 +0000 (18:27 -0600)
committerzonidjan <redacted>
Wed, 8 Nov 2017 00:27:47 +0000 (18:27 -0600)
modules/weather.py

index 5d435696fa1c6cbbcff0d2ad35ccee267ae8db60..27f21eca64c9d98740276614bb3ad45f9de399f5 100644 (file)
@@ -54,4 +54,4 @@ def weather(bot, user, chan, realtarget, *args):
                }
                bot.msg(chan, output)
        else:
                }
                bot.msg(chan, output)
        else:
-               bot.msg(chan, "I don't know where to look! Try SETINFO LOCATION <your location>")
+               bot.msg(chan, "I don't know where to look! Try %sSETINFO LOCATION <your location>" % (bot.parent.trigger))