mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 10:33:30 +01:00
fix(Embed): Reference video in video (#8473)
This commit is contained in:
@@ -115,10 +115,10 @@ class Embed {
|
|||||||
get video() {
|
get video() {
|
||||||
if (!this.data.video) return null;
|
if (!this.data.video) return null;
|
||||||
return {
|
return {
|
||||||
url: this.data.image.url,
|
url: this.data.video.url,
|
||||||
proxyURL: this.data.image.proxy_url,
|
proxyURL: this.data.video.proxy_url,
|
||||||
height: this.data.image.height,
|
height: this.data.video.height,
|
||||||
width: this.data.image.width,
|
width: this.data.video.width,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user