debug a bit more
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -486,7 +486,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "disconic"
|
name = "disconic"
|
||||||
version = "0.1.2-pre.2"
|
version = "0.1.2-pre.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"dotenv",
|
"dotenv",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "disconic"
|
name = "disconic"
|
||||||
description = "Discord bot for interacting with subsonic music libraries"
|
description = "Discord bot for interacting with subsonic music libraries"
|
||||||
version = "0.1.2-pre.2"
|
version = "0.1.2-pre.3"
|
||||||
authors = [ "Gabriel Fontes <eu@misterio.me>" ]
|
authors = [ "Gabriel Fontes <eu@misterio.me>" ]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
homepage = "https://misterio.me"
|
homepage = "https://misterio.me"
|
||||||
|
|||||||
@@ -281,6 +281,7 @@ async fn queue_song(
|
|||||||
client: &sunk::Client,
|
client: &sunk::Client,
|
||||||
) -> Result<()> {
|
) -> Result<()> {
|
||||||
let input = load_song(song, client).await?;
|
let input = load_song(song, client).await?;
|
||||||
|
println!("{:?}", input);
|
||||||
let call = join_channel(&ctx, &msg).await?;
|
let call = join_channel(&ctx, &msg).await?;
|
||||||
let mut handler = call.lock().await;
|
let mut handler = call.lock().await;
|
||||||
handler.enqueue_source(input);
|
handler.enqueue_source(input);
|
||||||
|
|||||||
Reference in New Issue
Block a user