aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoracdenisSK <[email protected]>2018-02-02 18:13:57 +0100
committerZeyla Hellyer <[email protected]>2018-02-04 07:54:31 -0800
commit97414e95425a433ed17fe0cafeb944666c406470 (patch)
tree0c0ccc9c841e8e9e5a4030e5b80a870e002bcfa6 /src
parentInline simple url properties (diff)
downloadserenity-97414e95425a433ed17fe0cafeb944666c406470.tar.xz
serenity-97414e95425a433ed17fe0cafeb944666c406470.zip
Partially revert the video url change
Diffstat (limited to 'src')
-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 {