diff --git a/bot.js b/bot.js index 08db455..b3fbfc9 100644 --- a/bot.js +++ b/bot.js @@ -374,9 +374,7 @@ async function locateISS(message) { await fetch ("http://api.open-notify.org/astros.json") .then(request => request.json()) .then(data => { - data.people.forEach((astronaut, index) => { - issEmbed.addField(`Astronaut ${index + 1}`, astronaut.name, true); - }) + issEmbed.addField(`Astronauts`, `${data.people.join(" • ")}`); message.channel.send(issEmbed); }); });