Skip to content

Commit

Permalink
Change the type of the embeds field in MessageUpdateEvent back to…
Browse files Browse the repository at this point in the history
… `Embed` (#1207)

Fixes #1206

Signed-off-by: Vladimir Serov <me@cab404.ru>
  • Loading branch information
cab404 committed Jan 29, 2021
1 parent 5457cda commit 8133a43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model/event.rs
Expand Up @@ -920,7 +920,7 @@ pub struct MessageUpdateEvent {
pub mentions: Option<Vec<User>>,
pub mention_roles: Option<Vec<RoleId>>,
pub attachments: Option<Vec<Attachment>>,
pub embeds: Option<Vec<Value>>,
pub embeds: Option<Vec<Embed>>,
}

#[cfg(feature = "cache")]
Expand Down

0 comments on commit 8133a43

Please sign in to comment.