fix: update image source handling in requestWorker function
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user