From d96ff463f5d06a5955c9dcbb421843348f77a6bd Mon Sep 17 00:00:00 2001 From: Amia <9750071+aamiaa@users.noreply.github.com> Date: Fri, 24 May 2024 17:14:44 +0200 Subject: [PATCH] clarify embed id --- src/plugins/svgEmbed/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/svgEmbed/index.ts b/src/plugins/svgEmbed/index.ts index 65bc53262..12c6beda0 100644 --- a/src/plugins/svgEmbed/index.ts +++ b/src/plugins/svgEmbed/index.ts @@ -180,7 +180,7 @@ export default definePlugin({ const { width, height } = await getSVGDimensions(url); // @ts-ignore message.embeds.push({ - id: "embed_1", + id: "embed_1", // The id can be anything as it seems to be changed by the client anyways url, type: "image", image: { url, proxyURL: url, width, height },