clarify embed id

This commit is contained in:
Amia 2024-05-24 17:14:44 +02:00
parent 99cf950b95
commit d96ff463f5
No known key found for this signature in database
GPG key ID: 9B2D60034D0730F2

View file

@ -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 },