aboutsummaryrefslogtreecommitdiff
path: root/src/utils/builder/mod.rs
diff options
context:
space:
mode:
authorAustin Hellyer <[email protected]>2016-12-18 20:55:36 -0800
committerAustin Hellyer <[email protected]>2016-12-18 20:55:36 -0800
commit68c473dd17a2098f97808b3d1f2a200621f67c9d (patch)
tree8b8f930cf3049649ab5a022edc36248f714a8878 /src/utils/builder/mod.rs
parentFix a typo in UserId::find docs (diff)
downloadserenity-68c473dd17a2098f97808b3d1f2a200621f67c9d.tar.xz
serenity-68c473dd17a2098f97808b3d1f2a200621f67c9d.zip
Remove image/thumbnail embed builders
When implemented, it was thought that images and thumbnails would be able to have their height/width specified. This isn't the case, and so the image/height methods were deprecated on the builders. Time has passed, so just remove them in favour of direct methods on CreateEmbed instead.
Diffstat (limited to 'src/utils/builder/mod.rs')
-rw-r--r--src/utils/builder/mod.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/utils/builder/mod.rs b/src/utils/builder/mod.rs
index 497d309..3fc0f05 100644
--- a/src/utils/builder/mod.rs
+++ b/src/utils/builder/mod.rs
@@ -21,8 +21,6 @@ pub use self::create_embed::{
CreateEmbedAuthor,
CreateEmbedFooter,
CreateEmbedField,
- CreateEmbedImage,
- CreateEmbedThumbnail,
};
pub use self::create_invite::CreateInvite;
pub use self::create_message::CreateMessage;