try to debug a bit more
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -486,7 +486,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "disconic"
|
||||
version = "0.1.1"
|
||||
version = "0.1.2-pre.1"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"dotenv",
|
||||
|
||||
@@ -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 <eu@misterio.me>" ]
|
||||
edition = "2018"
|
||||
homepage = "https://misterio.me"
|
||||
|
||||
@@ -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!(
|
||||
|
||||
Reference in New Issue
Block a user