mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-02-24 23:38:32 +00:00
clarify embed id
This commit is contained in:
parent
99cf950b95
commit
d96ff463f5
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ export default definePlugin({
|
||||||
const { width, height } = await getSVGDimensions(url);
|
const { width, height } = await getSVGDimensions(url);
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
message.embeds.push({
|
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,
|
url,
|
||||||
type: "image",
|
type: "image",
|
||||||
image: { url, proxyURL: url, width, height },
|
image: { url, proxyURL: url, width, height },
|
||||||
|
|
Loading…
Add table
Reference in a new issue