diff options
| author | Nathan Perry <np@nathanperry.dev> | 2020-01-28 17:26:01 -0500 |
|---|---|---|
| committer | Nathan Perry <np@nathanperry.dev> | 2020-01-28 17:26:01 -0500 |
| commit | af2676294754d22cf2774f2cea2c16151aa5a6c7 (patch) | |
| tree | 421e1c305691db7d7fe3a2c9a0a8e752b130dd1d /src/main.rs | |
| parent | dde5eb52706a9ca8ee257a6cbd75e243582d0a86 (diff) | |
add help, fix gaem
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index 98c9765..636fe44 100644 --- a/src/main.rs +++ b/src/main.rs @@ -28,6 +28,7 @@ use log::{ error, info, trace, + warn, }; use serenity::{ framework::StandardFramework, @@ -132,7 +133,7 @@ fn run() -> Result<()> { .and_then(|f| serde_json::from_reader::<_, Vec<u64>>(f).map_err(Error::from)); if let Err(ref e) = restrict_ids { - error!("opening restrict file: {}", e); + warn!("opening restrict file: {}", e); } let restrict_ids = restrict_ids @@ -274,7 +275,6 @@ fn main() { message )) }) - .level(log::LevelFilter::Info) .level_for("thulani", log::LevelFilter::Trace) .chain(fern::log_file("thulani.log").expect("problem creating log file")) |
