diff options
| author | acdenisSK <[email protected]> | 2018-02-02 18:13:57 +0100 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2018-02-04 07:54:31 -0800 |
| commit | 97414e95425a433ed17fe0cafeb944666c406470 (patch) | |
| tree | 0c0ccc9c841e8e9e5a4030e5b80a870e002bcfa6 /src | |
| parent | Inline simple url properties (diff) | |
| download | serenity-97414e95425a433ed17fe0cafeb944666c406470.tar.xz serenity-97414e95425a433ed17fe0cafeb944666c406470.zip | |
Partially revert the video url change
Diffstat (limited to 'src')
| -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 { |