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;
|
||||
files.push({
|
||||
attachment: buffer,
|
||||
name: `${imgData.name}.png`
|
||||
name: `${imgData.name}.jpg`
|
||||
});
|
||||
embeds.push({
|
||||
title: `${sat} ${imgData.name}`,
|
||||
image: {
|
||||
url: `attachment://${imgData.name}.png`
|
||||
url: `attachment://${imgData.name}.jpg`
|
||||
}
|
||||
});
|
||||
// Check if we have all the images
|
||||
|
|
Loading…
Reference in a new issue