diff --git a/Cargo.lock b/Cargo.lock index 4eedd85..d26ec95 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -455,7 +455,7 @@ dependencies = [ [[package]] name = "rustcord" -version = "0.8.1" +version = "0.8.2" dependencies = [ "rand 0.3.22 (registry+https://github.com/rust-lang/crates.io-index)", "serenity 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index 553e0a6..77ab02b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustcord" -version = "0.8.1" +version = "0.8.2" authors = [" <@protonmail.com>"] [dependencies] diff --git a/src/main.rs b/src/main.rs index 8b1df61..4fd9c9b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -32,11 +32,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"), Handler) - let mut client = Client::new( - "NDcwMzUwMjMzNDE5OTA3MTI5.Djnj8Q.zWccOBceV0Xf3MB2OjL0MpqZsgg", - Handler, - ).expect("Error creating client"); + 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("OwO ").case_insensitivity(true)) diff --git a/target/release/rustcord b/target/release/rustcord index 076a5f5..13bd810 100755 Binary files a/target/release/rustcord and b/target/release/rustcord differ