From 5e1635b9c11d915e9d643f08871396c55190accb Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Mon, 20 May 2024 12:28:31 -0600 Subject: [PATCH] Async --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index cc9e6a3..5e69132 100644 --- a/index.js +++ b/index.js @@ -1146,7 +1146,7 @@ discord.on("interactionCreate", async (interaction) => { files = []; sattelites[sat].forEach(async (imgData) => { // Get a buffer for the data, and put that in imageBuffers with the "name" as the key - await fetch(imgData.url).then((res) => { + fetch(imgData.url).then((res) => { if (res.status !== 200) { interaction.editReply({ content: "Failed to get satellite images", ephemeral: true }); return;