From de74a0abdd249b8a46e0ce14aadf95a0bda68b93 Mon Sep 17 00:00:00 2001 From: Vicky Date: Mon, 4 Nov 2024 12:04:57 +0100 Subject: [PATCH] Replaced println with log, updated todo --- src/io.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/io.rs b/src/io.rs index fecf2fa..c689cab 100644 --- a/src/io.rs +++ b/src/io.rs @@ -91,8 +91,7 @@ pub async fn vote_modal( use poise::Modal as _; let data = VoteCreation::execute(ctx).await?; - // TODO: Change with logging - println!("Got data: {:?}", data); + log::info!("Got data: {:?}", data); if let Some(unwrapped_data) = data { let group = unwrapped_data.group.unwrap_or("".into()); let title = unwrapped_data.title; -- 2.45.1