From d8c9d89c80ffb0ae95b91c4dcc593fd70fa976d8 Mon Sep 17 00:00:00 2001 From: acdenisSK Date: Fri, 2 Feb 2018 18:13:57 +0100 Subject: Partially revert the video url change --- src/builder/create_embed.rs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/builder') 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 { -- cgit v1.2.3