Changed 8MB image embed
This commit is contained in:
parent
c6b7e6629c
commit
620212257d
1 changed files with 6 additions and 3 deletions
|
@ -64,11 +64,14 @@ module.exports = async (message) => {
|
||||||
await client.createMessage(message.channel.id, {
|
await client.createMessage(message.channel.id, {
|
||||||
embed: {
|
embed: {
|
||||||
color: 16711680,
|
color: 16711680,
|
||||||
title: "What's this?",
|
title: "Here's your image!",
|
||||||
url: "https://projectlounge.pw/esmBot#faq-large",
|
url: `https://projectlounge.pw/tmp/${filename}`,
|
||||||
image: {
|
image: {
|
||||||
url: `https://projectlounge.pw/tmp/${filename}`
|
url: `https://projectlounge.pw/tmp/${filename}`
|
||||||
}
|
},
|
||||||
|
footer: {
|
||||||
|
text: "The result image was more than 8MB in size, so it was uploaded to an external site instead."
|
||||||
|
},
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue