aboutsummaryrefslogtreecommitdiff
path: root/src/builder/execute_webhook.rs
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2018-01-31 14:56:12 -0800
committerZeyla Hellyer <[email protected]>2018-01-31 14:56:56 -0800
commit8578d5fe6e3bdc2842cda9417c242169f93b1a99 (patch)
treeba5ce74c82510f5d3b6b490b09eb5e6d2de77ca1 /src/builder/execute_webhook.rs
parentAdd create message builder example (#268) (diff)
downloadserenity-8578d5fe6e3bdc2842cda9417c242169f93b1a99.tar.xz
serenity-8578d5fe6e3bdc2842cda9417c242169f93b1a99.zip
Fix broken docs links caused by model mod changes
Fix broken links caused by the `model` module changes in v0.5.0, which split up the module into sub-modules for better organization.
Diffstat (limited to 'src/builder/execute_webhook.rs')
-rw-r--r--src/builder/execute_webhook.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/builder/execute_webhook.rs b/src/builder/execute_webhook.rs
index 26600ef..65823bb 100644
--- a/src/builder/execute_webhook.rs
+++ b/src/builder/execute_webhook.rs
@@ -43,8 +43,8 @@ use utils::VecMap;
/// .embeds(vec![website, resources]));
/// ```
///
-/// [`Webhook`]: ../model/struct.Webhook.html
-/// [`Webhook::execute`]: ../model/struct.Webhook.html#method.execute
+/// [`Webhook`]: ../model/webhook/struct.Webhook.html
+/// [`Webhook::execute`]: ../model/webhook/struct.Webhook.html#method.execute
/// [`execute_webhook`]: ../http/fn.execute_webhook.html
#[derive(Clone, Debug)]
pub struct ExecuteWebhook(pub VecMap<&'static str, Value>);
@@ -109,8 +109,8 @@ impl ExecuteWebhook {
/// Refer to the [struct-level documentation] for an example on how to use
/// embeds.
///
- /// [`Embed::fake`]: ../model/struct.Embed.html#method.fake
- /// [`Webhook::execute`]: ../model/struct.Webhook.html#method.execute
+ /// [`Embed::fake`]: ../model/channel/struct.Embed.html#method.fake
+ /// [`Webhook::execute`]: ../model/webhook/struct.Webhook.html#method.execute
/// [struct-level documentation]: #examples
pub fn embeds(mut self, embeds: Vec<Value>) -> Self {
self.0.insert("embeds", Value::Array(embeds));
@@ -176,7 +176,7 @@ impl Default for ExecuteWebhook {
/// let executer = ExecuteWebhook::default();
/// ```
///
- /// [`Webhook`]: ../model/struct.Webhook.html
+ /// [`Webhook`]: ../model/webhook/struct.Webhook.html
/// [`tts`]: #method.tts
fn default() -> ExecuteWebhook {
let mut map = VecMap::new();