Skip to content

Commit

Permalink
fix(Embed): Reference video in video (#8473)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite committed Aug 12, 2022
1 parent 7666a6c commit c97977a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/discord.js/src/structures/Embed.js
Expand Up @@ -115,10 +115,10 @@ class Embed {
get video() {
if (!this.data.video) return null;
return {
url: this.data.image.url,
proxyURL: this.data.image.proxy_url,
height: this.data.image.height,
width: this.data.image.width,
url: this.data.video.url,
proxyURL: this.data.video.proxy_url,
height: this.data.video.height,
width: this.data.video.width,
};
}

Expand Down

1 comment on commit c97977a

@vercel
Copy link

@vercel vercel bot commented on c97977a Aug 12, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.