+ if 'response' in weather:
+ if 'error' in weather['response']:
+ bot.msg(chan, "Error from Wunderground: %s" % (weather['response']['error']['description']))
+ return
+ if 'results' in weather['response']:
+ bot.msg(chan, "That search term is ambiguous. Please be more specific.")
+ return