From 2300e4455469bf962c83bb4997f014b68ccd0dda Mon Sep 17 00:00:00 2001 From: Gabriel Fontes Date: Fri, 28 Jan 2022 14:39:12 -0300 Subject: [PATCH] try to debug a bit more --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/discord/mod.rs | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0aebdf9..398159d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -486,7 +486,7 @@ dependencies = [ [[package]] name = "disconic" -version = "0.1.1" +version = "0.1.2-pre.1" dependencies = [ "anyhow", "dotenv", diff --git a/Cargo.toml b/Cargo.toml index dfb39da..81ba212 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "disconic" description = "Discord bot for interacting with subsonic music libraries" -version = "0.1.1" +version = "0.1.2-pre.1" authors = [ "Gabriel Fontes " ] edition = "2018" homepage = "https://misterio.me" diff --git a/src/discord/mod.rs b/src/discord/mod.rs index 2af3e83..30df18a 100644 --- a/src/discord/mod.rs +++ b/src/discord/mod.rs @@ -281,8 +281,11 @@ async fn queue_song( client: &sunk::Client, ) -> Result<()> { let input = load_song(song, client).await?; + println!("{:?}", input); let call = join_channel(&ctx, &msg).await?; + println!("{:?}", call); let mut handler = call.lock().await; + println!("{:?}", handler); handler.enqueue_source(input); let song_info = format!(