aboutsummaryrefslogtreecommitdiff
path: root/src/builder
diff options
context:
space:
mode:
authoracdenisSK <[email protected]>2018-02-02 18:13:57 +0100
committeracdenisSK <[email protected]>2018-02-02 18:13:57 +0100
commitd8c9d89c80ffb0ae95b91c4dcc593fd70fa976d8 (patch)
tree278b0de575c8deba5f1ac58a4a0043955d8e98ef /src/builder
parentInline simple url properties (diff)
downloadserenity-d8c9d89c80ffb0ae95b91c4dcc593fd70fa976d8.tar.xz
serenity-d8c9d89c80ffb0ae95b91c4dcc593fd70fa976d8.zip
Partially revert the video url change
Diffstat (limited to 'src/builder')
-rw-r--r--src/builder/create_embed.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/builder/create_embed.rs b/src/builder/create_embed.rs
index c92a610..7610dd4 100644
--- a/src/builder/create_embed.rs
+++ b/src/builder/create_embed.rs
@@ -180,12 +180,6 @@ impl CreateEmbed {
self.url_object("image", url)
}
- /// Set the video associated with the embed. This only supports HTTP(S).
- #[inline]
- pub fn video(self, url: &str) -> Self {
- self.url_object("video", url)
- }
-
/// Set the thumbnail of the embed. This only supports HTTP(S).
#[inline]
pub fn thumbnail(self, url: &str) -> Self {