forked from ChrisChrome/weather-bot
Update funcs.js
This commit is contained in:
parent
fbcc902bba
commit
1001d80313
1
funcs.js
1
funcs.js
|
@ -88,6 +88,7 @@ const generateDiscordEmbeds = (forecastData, numOfDays) => {
|
|||
if (!numOfDays) numOfDays = 1;
|
||||
for (let i = 0; i < numOfDays; i++) {
|
||||
const period = forecastData.properties.periods[i];
|
||||
console.log(period.icon)
|
||||
const embed = {
|
||||
title: `${period.name} in ${forecastData.properties.relativeLocation.properties.city} ${forecastData.properties.relativeLocation.properties.state}`,
|
||||
description: period.detailedForecast,
|
||||
|
|
Loading…
Reference in a new issue