devfacet/weather

Precip Error

harrisonhoward opened this issue · 0 comments

Hi,
I have a problem with Forecast Precip. I'm using this module to make a command on my Discord Bot which it'll display Weather when I tried to show todays current precip it had an empty value why's that?

let newprecip = content[0].forecast[0].precip.length <= 0 ? "0" : content[0].forecast[0].precip