diff --git a/Cargo.toml b/Cargo.toml index 28d6a8e..6fef8d6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "reaper" -version = "1.1.0" +version = "1.1.1" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -24,4 +24,4 @@ rand = "0.8" redis = { version = "0.25", features = ["tokio-comp"] } ordinal = "0.3" pretty-duration = "0.1" -unic = "0.9.0" \ No newline at end of file +unic = "0.9.0" diff --git a/README.md b/README.md index bbcd42d..56210c1 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ A Discord bot designed to make your users reap what they sow.
-[![Version](https://img.shields.io/badge/version-1.1.0-purple)](https://img.shields.io/badge/version-1.1.0-purple) +[![Version](https://img.shields.io/badge/version-1.1.1-purple)](https://img.shields.io/badge/version-1.1.1-purple)
## What is Reaper? diff --git a/src/common/logging.rs b/src/common/logging.rs index 6d17508..1f15de9 100644 --- a/src/common/logging.rs +++ b/src/common/logging.rs @@ -17,7 +17,7 @@ pub async fn get_log_channel( .await .unwrap(); - if feature_flags + if !feature_flags .iter() .find(|flag| flag.feature == "logging") .unwrap() @@ -28,7 +28,7 @@ pub async fn get_log_channel( match log_type { LogType::Action => { - if feature_flags + if !feature_flags .iter() .find(|flag| flag.feature == "logging.action") .unwrap() @@ -39,7 +39,7 @@ pub async fn get_log_channel( } } LogType::Message => { - if feature_flags + if !feature_flags .iter() .find(|flag| flag.feature == "logging.message") .unwrap() @@ -50,7 +50,7 @@ pub async fn get_log_channel( } } LogType::Voice => { - if feature_flags + if !feature_flags .iter() .find(|flag| flag.feature == "logging.voice") .unwrap()