Revert "bot.reply" to "input.reply"
This commit is contained in:
parent
3dcb0dd537
commit
9c44d8ce69
|
@ -63,7 +63,7 @@ def weather(bot, input):
|
||||||
info['high'] = w.find('forecast_conditions/high').get('data')
|
info['high'] = w.find('forecast_conditions/high').get('data')
|
||||||
info['low'] = w.find('forecast_conditions/low').get('data')
|
info['low'] = w.find('forecast_conditions/low').get('data')
|
||||||
|
|
||||||
bot.reply('%(city)s: %(condition)s, %(temp_f)sF/%(temp_c)sC (H:%(high)sF'\
|
input.reply('%(city)s: %(condition)s, %(temp_f)sF/%(temp_c)sC (H:%(high)sF'\
|
||||||
', L:%(low)sF), %(humidity)s, %(wind_condition)s.' % info)
|
', L:%(low)sF), %(humidity)s, %(wind_condition)s.' % info)
|
||||||
|
|
||||||
if not dontsave and loc != stalk.get(nick, ''):
|
if not dontsave and loc != stalk.get(nick, ''):
|
||||||
|
|
Loading…
Reference in New Issue