aboutsummaryrefslogtreecommitdiff
path: root/src/commands/meme/create.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/meme/create.rs')
-rw-r--r--src/commands/meme/create.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/meme/create.rs b/src/commands/meme/create.rs
index a4e9656..c6ed9c6 100644
--- a/src/commands/meme/create.rs
+++ b/src/commands/meme/create.rs
@@ -109,7 +109,7 @@ pub async fn addaudiomeme(
util::react(ctx, '🔃').await?;
let youtube_url = util::ytdl_url(audio_link.as_str()).await?;
- tracing::debug!("got download url: {youtube_url}");
+ tracing::debug!(url_string = &youtube_url, "got download url");
let duration_opts = if let Some(e) = end {
vec![
@@ -162,7 +162,7 @@ pub async fn addaudiomeme(
let mut audio_data = Vec::new();
let bytes = audio_reader.read_to_end(&mut audio_data).await?;
- tracing::debug!("downloaded audio ({} bytes)", audio_data.len());
+ tracing::debug!(len_bytes = audio_data.len(), "downloaded audio");
if bytes == 0 {
tracing::debug!("read 0 bytes from audio reader");