Skip to content
Snippets Groups Projects
Commit 0e836f1e authored by deuce's avatar deuce
Browse files

Display the relative humidity as well.

parent 88ddbf5b
No related branches found
No related tags found
No related merge requests found
...@@ -54,6 +54,7 @@ Bot_Commands["WEATHER"].command = function (target,onick,ouh,srv,lvl,cmd) { ...@@ -54,6 +54,7 @@ Bot_Commands["WEATHER"].command = function (target,onick,ouh,srv,lvl,cmd) {
str += " - " + Weather.weather; str += " - " + Weather.weather;
str += ", "+ Weather.temp_c+" degrees ("+(parseInt(Weather.temp_c)+273)+"K, "+Weather.temp_f+"F)"; str += ", "+ Weather.temp_c+" degrees ("+(parseInt(Weather.temp_c)+273)+"K, "+Weather.temp_f+"F)";
str += " Wind "+Weather.wind_string; str += " Wind "+Weather.wind_string;
str += " Relative Humidity: "+Weather.relative_humidity;
if(Weather.display_location.city != Weather.observation_location.city) if(Weather.display_location.city != Weather.observation_location.city)
str += " (Observed at: " + Weather.observation_location.city + ")"; str += " (Observed at: " + Weather.observation_location.city + ")";
str += ' (Provided by Weather Underground, Inc.)'; str += ' (Provided by Weather Underground, Inc.)';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment