diff options
| -rw-r--r-- | CHANGELOG.md | 12 | ||||
| -rw-r--r-- | Cargo.toml | 4 | ||||
| -rw-r--r-- | README.md | 16 | ||||
| -rw-r--r-- | examples/03_struct_utilities/src/main.rs | 2 | ||||
| -rw-r--r-- | examples/06_command_framework/src/main.rs | 2 | ||||
| -rw-r--r-- | src/client/login_type.rs | 2 | ||||
| -rw-r--r-- | src/client/mod.rs | 2 | ||||
| -rw-r--r-- | src/constants.rs | 2 | ||||
| -rw-r--r-- | src/lib.rs | 8 | ||||
| -rw-r--r-- | src/utils/builder/execute_webhook.rs | 2 | ||||
| -rw-r--r-- | src/utils/builder/search.rs | 2 |
11 files changed, 27 insertions, 27 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3112e9d..72d34e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -193,14 +193,14 @@ in Discord's API. Initial commit. -[0.1.3]: https://github.com/zeyla/serenity.rs/compare/v0.1.2...v0.1.3 -[0.1.2]: https://github.com/zeyla/serenity.rs/compare/v0.1.1...v0.1.2 -[0.1.1]: https://github.com/zeyla/serenity.rs/compare/v0.1.0...v0.1.1 -[0.1.0]: https://github.com/zeyla/serenity.rs/tree/403d65d5e98bdfa9f0c018610000c4a0b0c7d8d5 +[0.1.3]: https://github.com/zeyla/serenity/compare/v0.1.2...v0.1.3 +[0.1.2]: https://github.com/zeyla/serenity/compare/v0.1.1...v0.1.2 +[0.1.1]: https://github.com/zeyla/serenity/compare/v0.1.0...v0.1.1 +[0.1.0]: https://github.com/zeyla/serenity/tree/403d65d5e98bdfa9f0c018610000c4a0b0c7d8d5 [crates.io listing]: https://crates.io/crates/serenity [semver]: http://semver.org -[v0.1.2:example 06]: https://github.com/zeyla/serenity.rs/tree/5a3665a9951c023e3e6ea688844558b7f8b5fb6e/examples/06_command_framework -[v0.1.1:example 06]: https://github.com/zeyla/serenity.rs/tree/ccb9d16e5dbe965e5a604e1cb402cd3bc7de0df5/examples/06_command_framework +[v0.1.2:example 06]: https://github.com/zeyla/serenity/tree/5a3665a9951c023e3e6ea688844558b7f8b5fb6e/examples/06_command_framework +[v0.1.1:example 06]: https://github.com/zeyla/serenity/tree/ccb9d16e5dbe965e5a604e1cb402cd3bc7de0df5/examples/06_command_framework [@abalabahaha]: https://github.com/abalabahaha [@acdenisSK]: https://github.com/acdenisSK @@ -3,12 +3,12 @@ authors = ["Austin Hellyer <[email protected]>"] build = "build.rs" description = "Ergonomic and high-level Rust library for the Discord API." documentation = "https://serenity.zey.moe" -homepage = "https://github.com/zeyla/serenity.rs" +homepage = "https://github.com/zeyla/serenity" keywords = ["discord", "api"] license = "ISC" name = "serenity" readme = "README.md" -repository = "https://github.com/zeyla/serenity.rs.git" +repository = "https://github.com/zeyla/serenity.git" version = "0.1.3" [dependencies] @@ -1,6 +1,6 @@ [![ci-badge][]][ci] [![crate-badge][]][crate] [![license-badge][]][license] [![docs-badge][]][docs] [![contribs-badge][]][contribs] [![dapi-badge][]][dapi] -# serenity.rs +# serenity Serenity is an ergonomic and high-level Rust library for the Discord API. @@ -88,7 +88,7 @@ Cargo.toml: ```toml [dependencies.serenity] -git = "https://github.com/zeyla/serenity.rs.git" +git = "https://github.com/zeyla/serenity.git" default-features = false features = ["pick", "your", "feature", "names", "here"] ``` @@ -146,14 +146,14 @@ Voice+youtube-dl: [`Context`]: https://serenity.zey.moe/serenity/client/struct.Context.html [`Event`]: https://serenity.zey.moe/serenity/model/enum.Event.html [`Event::MessageCreate`]: https://serenity.zey.moe/serenity/model/enum.Event.html#variant.MessageCreate -[`examples`]: https://github.com/zeyla/serenity.rs/blob/master/examples +[`examples`]: https://github.com/zeyla/serenity/blob/master/examples [`rest`]: https://serenity.zey.moe/serenity/client/rest/index.html [`validate_token`]: https://serenity.zey.moe/serenity/client/fn.validate_token.html [cache docs]: https://serenity.zey.moe/serenity/ext/cache/index.html -[ci]: https://travis-ci.org/zeyla/serenity.rs -[ci-badge]: https://travis-ci.org/zeyla/serenity.rs.svg?branch=master -[contribs]: https://img.shields.io/github/contributors/zeyla/serenity.rs.svg -[contribs-badge]: https://img.shields.io/github/contributors/zeyla/serenity.rs.svg +[ci]: https://travis-ci.org/zeyla/serenity +[ci-badge]: https://travis-ci.org/zeyla/serenity.svg?branch=master +[contribs]: https://img.shields.io/github/contributors/zeyla/serenity.svg +[contribs-badge]: https://img.shields.io/github/contributors/zeyla/serenity.svg [crate]: https://crates.io/crates/serenity [crate-badge]: https://img.shields.io/crates/v/serenity.svg?maxAge=2592000 [client's module-level documentation]: https://serenity.zey.moe/serenity/client/index.html @@ -162,7 +162,7 @@ Voice+youtube-dl: [discord docs]: https://discordapp.com/developers/docs/intro [docs]: https://serenity.zey.moe/ [docs-badge]: https://img.shields.io/badge/docs-online-5023dd.svg -[examples]: https://github.com/zeyla/serenity.rs/tree/master/examples +[examples]: https://github.com/zeyla/serenity/tree/master/examples [gateway docs]: https://serenity.zey.moe/serenity/client/gateway/index.html [license]: https://opensource.org/licenses/ISC [license-badge]: https://img.shields.io/badge/license-ISC-blue.svg diff --git a/examples/03_struct_utilities/src/main.rs b/examples/03_struct_utilities/src/main.rs index 8334b71..942d918 100644 --- a/examples/03_struct_utilities/src/main.rs +++ b/examples/03_struct_utilities/src/main.rs @@ -4,7 +4,7 @@ //! //! ```toml //! [dependencies.serenity] -//! git = "https://github.com/zeyla/serenity.rs.git" +//! git = "https://github.com/zeyla/serenity.git" //! features = ["methods"] //! ``` diff --git a/examples/06_command_framework/src/main.rs b/examples/06_command_framework/src/main.rs index 480c8dd..a0e4b7f 100644 --- a/examples/06_command_framework/src/main.rs +++ b/examples/06_command_framework/src/main.rs @@ -4,7 +4,7 @@ //! //! ```toml //! [dependencies.serenity] -//! git = "https://github.com/zeyla/serenity.rs.git" +//! git = "https://github.com/zeyla/serenity.git" //! features = ["framework", "methods"] //! ``` diff --git a/src/client/login_type.rs b/src/client/login_type.rs index 468ead5..4eae5e2 100644 --- a/src/client/login_type.rs +++ b/src/client/login_type.rs @@ -7,7 +7,7 @@ /// Use [`User`] if you are creating a selfbot which responds only to you. /// /// [`Bot`]: #variant.Bot -/// [`README`]: https://github.com/zeyla/serenity.rs/blob/master/README.md#Bots +/// [`README`]: https://github.com/zeyla/serenity/blob/master/README.md#Bots /// [`User`]: #variant.User /// [applications page]: https://discordapp.com/developers/applications/me #[derive(Copy, Clone, Hash, Eq, PartialEq, Debug, Ord, PartialOrd)] diff --git a/src/client/mod.rs b/src/client/mod.rs index 48a38ed..8a015f9 100644 --- a/src/client/mod.rs +++ b/src/client/mod.rs @@ -165,7 +165,7 @@ pub struct Client { /// Refer to [example 06] for an example on using the `data` field. /// /// [`Context::data`]: struct.Context.html#method.data - /// [example 06]: https://github.com/zeyla/serenity.rs/tree/master/examples/06_command_framework + /// [example 06]: https://github.com/zeyla/serenity/tree/master/examples/06_command_framework pub data: Arc<Mutex<ShareMap>>, /// A vector of all active shards that have received their [`Event::Ready`] /// payload, and have dispatched to [`on_ready`] if an event handler was diff --git a/src/constants.rs b/src/constants.rs index bb2589a..cf3cf0b 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -6,7 +6,7 @@ pub const MESSAGE_CODE_LIMIT: u16 = 2000; /// The [UserAgent] sent along with every request. /// /// [UserAgent]: ../hyper/header/struct.UserAgent.html -pub const USER_AGENT: &'static str = concat!("DiscordBot (https://github.com/zeyla/serenity.rs, ", env!("CARGO_PKG_VERSION"), ")"); +pub const USER_AGENT: &'static str = concat!("DiscordBot (https://github.com/zeyla/serenity, ", env!("CARGO_PKG_VERSION"), ")"); #[allow(dead_code)] #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] @@ -84,7 +84,7 @@ //! //! ```toml //! [dependencies.serenity] -//! git = "https://github.com/zeyla/serenity.rs.git" +//! git = "https://github.com/zeyla/serenity.git" //! default-features = false //! features = ["pick", "your", "feature", "names", "here"] //! ``` @@ -135,16 +135,16 @@ //! [`Event`]: model/event/enum.Event.html //! [`Event::MessageCreate`]: model/event/enum.Event.html#variant.MessageCreate //! [`Shard`]: client/struct.Shard.html -//! [`examples`]: https://github.com/zeyla/serenity.rs.git/blob/master/examples +//! [`examples`]: https://github.com/zeyla/serenity.git/blob/master/examples //! [`rest`]: client/rest/index.html //! [`validate_token`]: client/fn.validate_token.html //! [cache docs]: ext/cache/index.html //! [client's module-level documentation]: client/index.html //! [docs]: https://discordapp.com/developers/docs/intro -//! [examples]: https://github.com/zeyla/serenity.rs/tree/master/examples +//! [examples]: https://github.com/zeyla/serenity/tree/master/examples //! [gateway docs]: client/gateway/index.html #![allow(doc_markdown, inline_always, unknown_lints)] -#![doc(html_logo_url = "https://docs.austinhellyer.me/serenity.rs/docs_header.png")] +#![doc(html_logo_url = "https://docs.austinhellyer.me/serenity/docs_header.png")] #![warn(enum_glob_use, if_not_else)] #[macro_use] diff --git a/src/utils/builder/execute_webhook.rs b/src/utils/builder/execute_webhook.rs index c45b1c0..9da701f 100644 --- a/src/utils/builder/execute_webhook.rs +++ b/src/utils/builder/execute_webhook.rs @@ -105,7 +105,7 @@ impl Default for ExecuteWebhook { /// /// The only default value is [`tts`] being set to `true`. In the event that /// there is a bug that Discord defaults `tts` to `true`, at least - /// serenity.rs won't be a part of it. + /// serenity won't be a part of it. /// /// [`Webhook`]: ../../model/struct.Webhook.html /// [`tts`]: #method.tts diff --git a/src/utils/builder/search.rs b/src/utils/builder/search.rs index cf61bed..c0a7499 100644 --- a/src/utils/builder/search.rs +++ b/src/utils/builder/search.rs @@ -187,7 +187,7 @@ impl SortingOrder { /// [`limit`]: #method.limit /// [`offset`]: #method.offset /// [`sort_by`]: #method.sort_by -/// [example 08]: https://github.com/zeyla/serenity.rs/tree/master/examples/08_search +/// [example 08]: https://github.com/zeyla/serenity/tree/master/examples/08_search pub struct Search<'a>(pub BTreeMap<&'a str, String>); impl<'a> Search<'a> { |