fix: update image source handling in requestWorker function

This commit is contained in:
fzzinchemical
2025-04-01 23:11:18 +02:00
parent 8ceac891ca
commit 7bcf64f8e9

View File

@@ -22,7 +22,7 @@ export async function requestWorker(requestString: string){
for (const img of response) { for (const img of response) {
stack.push(new Embed( stack.push(new Embed(
`ID: ${img.id}`, `ID: ${img.id}`,
img.source, img.sample_url,
new EmbedAuthor(img.owner), new EmbedAuthor(img.owner),
// [new EmbedField("Tags", img.tags, true)], // [new EmbedField("Tags", img.tags, true)],
new EmbedImage(img.file_url, img.height, img.width) new EmbedImage(img.file_url, img.height, img.width)