diff options
Diffstat (limited to 'src/commands/today/mod.rs')
| -rw-r--r-- | src/commands/today/mod.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/commands/today/mod.rs b/src/commands/today/mod.rs index 7b5fe8d..0b9b857 100644 --- a/src/commands/today/mod.rs +++ b/src/commands/today/mod.rs @@ -1,6 +1,6 @@ use chrono::Duration; +use grate::tracing; use lazy_static::lazy_static; -use log::debug; use rand::{ seq::SliceRandom, thread_rng, @@ -76,11 +76,11 @@ pub async fn today(ctx: PoiseContext<'_>, #[rest] _rest: Option<String>) -> anyh match dt { Ok(dt) => { - debug!("overriding with datetime: {dt}"); + tracing::debug!("overriding with datetime: {dt}"); result = dt; }, Err(e) => { - debug!("parsing datetime: {e:?}"); + tracing::debug!("parsing datetime: {e:?}"); }, }; } @@ -91,7 +91,7 @@ pub async fn today(ctx: PoiseContext<'_>, #[rest] _rest: Option<String>) -> anyh let options: Vec<TodayArgs> = ALL.iter().flat_map(|f| f(today)).collect(); - debug!("{} options for {}", options.len(), today); + tracing::debug!("{} options for {}", options.len(), today); let play_args = options.choose(&mut thread_rng()); |
