Skip to content

Commit

Permalink
Remove incorrect documentation about HTTP(S) support
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivin committed Aug 30, 2024
1 parent fd52983 commit 956a478
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/builder/create_embed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ impl CreateEmbed {
self
}

/// Set the image associated with the embed. This only supports HTTP(S).
/// Set the image associated with the embed.
///
/// Refer [Discord Documentation](https://discord.com/developers/docs/reference#uploading-files)
/// for rules on naming local attachments.
Expand All @@ -115,7 +115,7 @@ impl CreateEmbed {
self
}

/// Set the thumbnail of the embed. This only supports HTTP(S).
/// Set the thumbnail of the embed.
#[inline]
pub fn thumbnail(mut self, url: impl Into<String>) -> Self {
self.0.thumbnail = Some(EmbedThumbnail {
Expand Down Expand Up @@ -304,7 +304,7 @@ impl CreateEmbedFooter {
self
}

/// Set the icon URL's value. This only supports HTTP(S).
/// Set the icon URL's value.
///
/// Refer [`CreateEmbed::image`] for rules on naming local attachments.
pub fn icon_url(mut self, icon_url: impl Into<String>) -> Self {
Expand Down

0 comments on commit 956a478

Please sign in to comment.