aboutsummaryrefslogtreecommitdiff
path: root/src/commands/meme/mod.rs
diff options
context:
space:
mode:
authorNathan Perry <np@nathanperry.dev>2024-08-16 07:12:33 -0400
committerNathan Perry <np@nathanperry.dev>2024-08-16 07:12:33 -0400
commitc5ce454319a7d54d3967c6ea7695543e943a37b2 (patch)
tree193a6907bc3a476f18774558ca52a3cb7618f912 /src/commands/meme/mod.rs
parent5a2dc4070c1d14f22a7671c6f82ca2f4578369bd (diff)
tracing: use fields rather than interpolation
Diffstat (limited to 'src/commands/meme/mod.rs')
-rw-r--r--src/commands/meme/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/meme/mod.rs b/src/commands/meme/mod.rs
index 4819c1d..7bc8b2e 100644
--- a/src/commands/meme/mod.rs
+++ b/src/commands/meme/mod.rs
@@ -70,7 +70,7 @@ async fn send_meme(
let should_tts =
t.content.as_ref().map(|t| !t.is_empty()).unwrap_or(false) && random::<u32>() % 25 == 0;
- tracing::debug!("sending meme (tts: {}): {:?}", should_tts, t);
+ tracing::debug!(should_tts, meme = ?t, "sending meme");
let image = t.image(conn).await;
let audio = t.audio(conn).await;