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) {
|
||||
stack.push(new Embed(
|
||||
`ID: ${img.id}`,
|
||||
img.source,
|
||||
img.sample_url,
|
||||
new EmbedAuthor(img.owner),
|
||||
// [new EmbedField("Tags", img.tags, true)],
|
||||
new EmbedImage(img.file_url, img.height, img.width)
|
||||
|
||||
Reference in New Issue
Block a user