Added symphonia back to fix audio bug

This commit is contained in:
2024-12-19 00:17:08 -05:00
parent 8eeadcfd54
commit 9344979d72
2 changed files with 2 additions and 1 deletions

View File

@@ -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"] }

View File

@@ -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) => {