From e0589785c5f790cb21324fad56124a64a4d831e1 Mon Sep 17 00:00:00 2001 From: "diamondburned (Forefront)" Date: Sat, 22 Feb 2020 16:38:19 -0800 Subject: [PATCH] Discord: Added missing Height and Width into EmbedImage --- discord/message_embed.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/discord/message_embed.go b/discord/message_embed.go index eb36d37..0829617 100644 --- a/discord/message_embed.go +++ b/discord/message_embed.go @@ -138,8 +138,10 @@ type EmbedFooter struct { } type EmbedImage struct { - URL URL `json:"url"` - Proxy URL `json:"proxy_url"` + URL URL `json:"url"` + Proxy URL `json:"proxy_url"` + Height uint `json:"height,omitempty"` + Width uint `json:"width,omitempty"` } type EmbedThumbnail struct {