if ($params['city']) {
require_once(DIR_MODULES.'ug_weather/google_translate.class.php');
$tr = new GoogleTranslate();
$str = $tr->translate('ru', 'en', $params['city']);
include_once(DIR_MODULES.'ug_weather/ug_weather.class.php');
$ug_weather=new ug_weather();
$ug_weather->getConfig();
$weather = $ug_weather->get_weather('Russia/'.$str);
sayReply('сейчас в '.$params['city'].' '.str_replace('.',',',round($weather['fact']['temperature'])).' градусов, '.$weather['fact']['weather_type'], 2);
}