diff options
| author | Zeyla Hellyer <[email protected]> | 2018-01-20 09:13:24 -0800 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2018-01-20 09:13:24 -0800 |
| commit | 551f952b4b3505dd899ea150a4db671f33538e1f (patch) | |
| tree | 76669dcb00e184b37468873a8cfdc38a32cd804d /README.md | |
| parent | Fix compilation for some feature combinations (diff) | |
| download | serenity-551f952b4b3505dd899ea150a4db671f33538e1f.tar.xz serenity-551f952b4b3505dd899ea150a4db671f33538e1f.zip | |
Bump to v0.5.0v0.5.0
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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: |