From cb7b303a0a738fdb9c0a199dae10c4c1b185e99c Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Sat, 3 Apr 2021 14:12:04 -0500 Subject: [PATCH] Fix empty title for ISS embed --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index ba93575..1c1d426 100644 --- a/index.js +++ b/index.js @@ -90,7 +90,7 @@ async function locateISS(message) { .then(request => request.json()) .then(data => { const issEmbed = new Discord.MessageEmbed() - .setTitle() + .setTitle("The current location of the ISS!") .setURL('https://spotthestation.nasa.gov/tracking_map.cfm') .setImage(`https://api.mapbox.com/styles/v1/mapbox/light-v10/static/pin-s+000(${data.iss_position.longitude},${data.iss_position.latitude})/-87.0186,20,1/1000x1000?access_token=pk.eyJ1IjoiYWRhd2Vzb21lZ3V5IiwiYSI6ImNrbGpuaWdrYzJ0bGYydXBja2xsNmd2YTcifQ.Ude0UFOf9lFcQ-3BANWY5A`) .setColor("00c5ff")