aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2018-01-20 09:13:24 -0800
committerZeyla Hellyer <[email protected]>2018-01-20 09:13:24 -0800
commit551f952b4b3505dd899ea150a4db671f33538e1f (patch)
tree76669dcb00e184b37468873a8cfdc38a32cd804d /README.md
parentFix compilation for some feature combinations (diff)
downloadserenity-551f952b4b3505dd899ea150a4db671f33538e1f.tar.xz
serenity-551f952b4b3505dd899ea150a4db671f33538e1f.zip
Bump to v0.5.0v0.5.0
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 27e4a67..f22425f 100644
--- a/README.md
+++ b/README.md
@@ -52,7 +52,7 @@ impl EventHandler for Handler {}
fn main() {
// Login with a bot token from the environment
- let mut client = Client::new(&env::var("DISCORD_TOKEN").expect("token"), dler)
+ let mut client = Client::new(&env::var("DISCORD_TOKEN").expect("token"), Handler)
.expect("Error creating client");
client.with_framework(StandardFramework::new()
.configure(|c| c.prefix("~")) // set the bot's prefix to "~"
@@ -80,7 +80,7 @@ Add the following to your `Cargo.toml` file:
```toml
[dependencies]
-serenity = "0.4"
+serenity = "0.5"
```
and to the top of your `main.rs`:
@@ -98,9 +98,9 @@ Cargo.toml:
```toml
[dependencies.serenity]
-git = "https://github.com/zeyla/serenity.git"
default-features = false
features = ["pick", "your", "feature", "names", "here"]
+version = "0.5"
```
The following is a full list of features: