From feac39c59603fd300527c50309e81affae40f407 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Mon, 4 Feb 2019 18:36:40 +0000 Subject: [PATCH] Fix --- commands/search/weather.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/search/weather.js b/commands/search/weather.js index 11d8a3ed..3f76aaf8 100644 --- a/commands/search/weather.js +++ b/commands/search/weather.js @@ -45,7 +45,7 @@ module.exports = class WeatherCommand extends Command { ) .setURL(`https://openweathermap.org/city/${body.id}`) .setTimestamp() - .addField('❯ Condition', body.weather.join('\n').map(data => `${data.main} (${data.description})`)) + .addField('❯ Condition', body.weather.map(data => `${data.main} (${data.description})`).join(', ')) .addField('❯ Temperature', `${body.main.temp}°F`, true) .addField('❯ Humidity', `${body.main.humidity}%`, true) .addField('❯ Wind Speed', `${body.wind.speed} mph`);