This commit is contained in:
Christopher Cookman 2024-05-20 12:28:31 -06:00
parent 498da05d55
commit 5e1635b9c1
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

@ -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;