This commit is contained in:
dupie
2015-07-03 08:31:54 -04:00
parent 7dd198421a
commit 5a3d3e282a
3 changed files with 8 additions and 5 deletions

View File

@ -32,7 +32,7 @@ function PLUGIN.action(msg)
local celsius = jdat.main.temp - 273.15
local fahrenheit = tonumber(string.format("%.2f", celsius * (9/5) + 32))
local message = jdat.name .. ': ' .. celsius .. '°C / ' .. fahrenheit .. '°F, ' .. jdat.weather[1].description .. '.'
local message = jdat.name .. ': ' .. celsius .. '°C | ' .. fahrenheit .. '°F, ' .. jdat.weather[1].description .. '.'
send_msg(msg, message)