aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-06-10 22:27:01 -0700
committerZeyla Hellyer <[email protected]>2017-06-10 22:27:01 -0700
commite92b667058138ffd01587e28e9d8551cd59df160 (patch)
tree756f3db02851474c342adc0464707a1ca9bc01e4 /src
parentFix negative nonces failing to deserialize (diff)
downloadserenity-e92b667058138ffd01587e28e9d8551cd59df160.tar.xz
serenity-e92b667058138ffd01587e28e9d8551cd59df160.zip
Deserialize embed footers
Diffstat (limited to 'src')
-rw-r--r--src/model/channel/embed.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/model/channel/embed.rs b/src/model/channel/embed.rs
index f46f0d3..249887b 100644
--- a/src/model/channel/embed.rs
+++ b/src/model/channel/embed.rs
@@ -36,6 +36,8 @@ pub struct Embed {
/// The maximum number of fields is 25.
#[serde(default)]
pub fields: Vec<EmbedField>,
+ /// Footer information for the embed.
+ pub footer: Option<EmbedFooter>,
/// Image information of the embed.
pub image: Option<EmbedImage>,
/// The type of the embed. For embeds not generated by Discord's backend,