From 6ab5286e8ecf91c221d20e2d3e616df8c31a498e Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Mon, 3 Apr 2017 20:53:57 +0000 Subject: [PATCH] Tiny Change in Forecast --- commands/search/forecast.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/search/forecast.js b/commands/search/forecast.js index 086d45a6..a4ae4bd5 100644 --- a/commands/search/forecast.js +++ b/commands/search/forecast.js @@ -41,7 +41,7 @@ module.exports = class ForecastCommand extends commando.Command { .setAuthor(info.title, 'http://media.idownloadblog.com/wp-content/uploads/2013/12/yahoo-weather-213x220.png') .setURL(info.link) .setTimestamp() - .addField(`**${data.day} - ${data.date}:**`, + .addField(`**${data[0].day} - ${data[0].date}:**`, `**High:** ${data[0].high}°F, **Low:** ${data[0].low}°F, **Condition:** ${data[0].text}`) .addField(`**${data[1].day} - ${data[1].date}:**`, `**High:** ${data[1].high}°F, **Low:** ${data[1].low}°F, **Condition:** ${data[1].text}`)