diff options
| author | acdenisSK <[email protected]> | 2018-02-02 18:13:57 +0100 |
|---|---|---|
| committer | acdenisSK <[email protected]> | 2018-02-02 18:13:57 +0100 |
| commit | d8c9d89c80ffb0ae95b91c4dcc593fd70fa976d8 (patch) | |
| tree | 278b0de575c8deba5f1ac58a4a0043955d8e98ef /src/builder | |
| parent | Inline simple url properties (diff) | |
| download | serenity-d8c9d89c80ffb0ae95b91c4dcc593fd70fa976d8.tar.xz serenity-d8c9d89c80ffb0ae95b91c4dcc593fd70fa976d8.zip | |
Partially revert the video url change
Diffstat (limited to 'src/builder')
| -rw-r--r-- | src/builder/create_embed.rs | 6 |
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 { |