From 9344979d72907d87e9ffc146a071b08e13db46d2 Mon Sep 17 00:00:00 2001 From: Benjamin Sherriff Date: Thu, 19 Dec 2024 00:17:08 -0500 Subject: [PATCH] Added symphonia back to fix audio bug --- Cargo.toml | 1 + src/bot/commands/audio/play.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 50a55d5..2cc2e3a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,6 +16,7 @@ serde = { version = "1.0.210", features = ["derive"] } serde_json = "1.0.128" serenity = { version = "0.12.2", default-features = false, features = ["client", "gateway", "rustls_backend", "model", "voice", "cache", "framework", "standard_framework"] } songbird = { version = "0.4.6", features = ["builtin-queue"] } +symphonia = { version = "0.5.4", features = ["all"] } sqlx = { version = "0.8.2", features = ["runtime-tokio", "postgres", "chrono", "uuid"] } chrono = { version = "0.4.38", features = ["serde"] } reqwest = { version = "0.11", default-features = false, features = ["json"] } diff --git a/src/bot/commands/audio/play.rs b/src/bot/commands/audio/play.rs index 511d225..fc73461 100644 --- a/src/bot/commands/audio/play.rs +++ b/src/bot/commands/audio/play.rs @@ -53,7 +53,7 @@ pub async fn run(ctx: &Context, command: &CommandInteraction) { // Join the user's voice channel match join_voice_channel(&ctx.cache, &manager, guild_id, &command.user).await { Ok(channel_id) => { - log::debug!("<{guild_id}> Play command executed on {channel_id} with track: {track_url:?}"); + log::debug!("<{guild_id}> Play command executed on channel {channel_id} with track: {track_url:?}"); // Handle the track url match enqueue_track(ctx, manager, guild_id.to_owned(), track_url).await { Ok(items) => {