Fix sat ext

This commit is contained in:
Christopher Cookman 2024-06-11 14:07:56 -06:00
parent 595fc8c7c6
commit 5e6a4388bb
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42
2 changed files with 4 additions and 4 deletions

View file

@ -9,7 +9,7 @@
"url": "https://cdn.star.nesdis.noaa.gov/GOES16/ABI/CONUS/13/latest.jpg" "url": "https://cdn.star.nesdis.noaa.gov/GOES16/ABI/CONUS/13/latest.jpg"
}, },
{ {
"name": "Full Disk", "name": "FullDisk",
"url": "https://cdn.star.nesdis.noaa.gov/GOES16/ABI/FD/GEOCOLOR/678x678.jpg" "url": "https://cdn.star.nesdis.noaa.gov/GOES16/ABI/FD/GEOCOLOR/678x678.jpg"
} }
], ],
@ -23,7 +23,7 @@
"url": "https://cdn.star.nesdis.noaa.gov/GOES18/ABI/CONUS/13/latest.jpg" "url": "https://cdn.star.nesdis.noaa.gov/GOES18/ABI/CONUS/13/latest.jpg"
}, },
{ {
"name": "Full Disk", "name": "FullDisk",
"url": "https://cdn.star.nesdis.noaa.gov/GOES18/ABI/FD/GEOCOLOR/678x678.jpg" "url": "https://cdn.star.nesdis.noaa.gov/GOES18/ABI/FD/GEOCOLOR/678x678.jpg"
} }
] ]

View file

@ -1205,12 +1205,12 @@ discord.on("interactionCreate", async (interaction) => {
imageBuffers[imgData.name] = buffer; imageBuffers[imgData.name] = buffer;
files.push({ files.push({
attachment: buffer, attachment: buffer,
name: `${imgData.name}.png` name: `${imgData.name}.jpg`
}); });
embeds.push({ embeds.push({
title: `${sat} ${imgData.name}`, title: `${sat} ${imgData.name}`,
image: { image: {
url: `attachment://${imgData.name}.png` url: `attachment://${imgData.name}.jpg`
} }
}); });
// Check if we have all the images // Check if we have all the images