aboutsummaryrefslogtreecommitdiff
path: root/src/builder/create_embed.rs
diff options
context:
space:
mode:
authorMaiddog <[email protected]>2017-06-03 16:33:46 -0500
committerZeyla Hellyer <[email protected]>2017-06-03 14:33:46 -0700
commitc00f3490f2fb0c045c2da72d850f70da8e2cdb95 (patch)
treedc249377dae54eaac823d82c0764c314ba653cdd /src/builder/create_embed.rs
parentFix compilations across feature combinations (diff)
downloadserenity-c00f3490f2fb0c045c2da72d850f70da8e2cdb95.tar.xz
serenity-c00f3490f2fb0c045c2da72d850f70da8e2cdb95.zip
Add some model docs, deprecate Role::edit_role
Deprecate `Role::edit_role` and rename it to `Role::edit`.
Diffstat (limited to 'src/builder/create_embed.rs')
-rw-r--r--src/builder/create_embed.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/builder/create_embed.rs b/src/builder/create_embed.rs
index ff4e2c4..0099936 100644
--- a/src/builder/create_embed.rs
+++ b/src/builder/create_embed.rs
@@ -2,7 +2,7 @@
//!
//! This is a set of embed builders for rich embeds.
//!
-//! These are used in the [`Context::send_message`] and
+//! These are used in the [`ChannelId::send_message`] and
//! [`ExecuteWebhook::embeds`] methods, both as part of builders.
//!
//! The only builder that should be exposed is [`CreateEmbed`]. The rest of
@@ -10,7 +10,7 @@
//!
//! Documentation for embeds can be found [here].
//!
-//! [`Context::send_message`]: ../client/struct.Context.html#method.send_message
+//! [`ChannelId::send_message`]: ../model/struct.ChannelId.html#method.send_message
//! [`CreateEmbed`]: struct.CreateEmbed.html
//! [`ExecuteWebhook::embeds`]: struct.ExecuteWebhook.html#method.embeds
//! [here]: https://discordapp.com/developers/docs/resources/channel#embed-object
@@ -25,14 +25,14 @@ use ::model::Embed;
use ::utils::Colour;
/// A builder to create a fake [`Embed`] object, for use with the
-/// [`Context::send_message`] and [`ExecuteWebhook::embeds`] methods.
+/// [`ChannelId::send_message`] and [`ExecuteWebhook::embeds`] methods.
///
/// # Examples
///
-/// Refer to the documentation for [`Context::send_message`] for a very in-depth
+/// Refer to the documentation for [`ChannelId::send_message`] for a very in-depth
/// example on how to use this.
///
-/// [`Context::send_message`]: ../client/struct.Context.html#method.send_message
+/// [`ChannelId::send_message`]: ../model/struct.ChannelId.html#method.send_message
/// [`Embed`]: ../model/struct.Embed.html
/// [`ExecuteWebhook::embeds`]: struct.ExecuteWebhook.html#method.embeds
#[derive(Clone, Debug)]