From 7bcf64f8e9fd4c1b13858eef215be9ea896d714a Mon Sep 17 00:00:00 2001 From: fzzinchemical Date: Tue, 1 Apr 2025 23:11:18 +0200 Subject: [PATCH] fix: update image source handling in requestWorker function --- src/plugins/rule34/plugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/rule34/plugin.ts b/src/plugins/rule34/plugin.ts index f3ef8ed..2a94973 100644 --- a/src/plugins/rule34/plugin.ts +++ b/src/plugins/rule34/plugin.ts @@ -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)