forked from ChrisChrome/weather-bot
Fix sat ext
This commit is contained in:
parent
595fc8c7c6
commit
5e6a4388bb
4
index.js
4
index.js
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue