Added symphonia back to fix audio bug
This commit is contained in:
@@ -16,6 +16,7 @@ serde = { version = "1.0.210", features = ["derive"] }
|
|||||||
serde_json = "1.0.128"
|
serde_json = "1.0.128"
|
||||||
serenity = { version = "0.12.2", default-features = false, features = ["client", "gateway", "rustls_backend", "model", "voice", "cache", "framework", "standard_framework"] }
|
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"] }
|
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"] }
|
sqlx = { version = "0.8.2", features = ["runtime-tokio", "postgres", "chrono", "uuid"] }
|
||||||
chrono = { version = "0.4.38", features = ["serde"] }
|
chrono = { version = "0.4.38", features = ["serde"] }
|
||||||
reqwest = { version = "0.11", default-features = false, features = ["json"] }
|
reqwest = { version = "0.11", default-features = false, features = ["json"] }
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ pub async fn run(ctx: &Context, command: &CommandInteraction) {
|
|||||||
// Join the user's voice channel
|
// Join the user's voice channel
|
||||||
match join_voice_channel(&ctx.cache, &manager, guild_id, &command.user).await {
|
match join_voice_channel(&ctx.cache, &manager, guild_id, &command.user).await {
|
||||||
Ok(channel_id) => {
|
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
|
// Handle the track url
|
||||||
match enqueue_track(ctx, manager, guild_id.to_owned(), track_url).await {
|
match enqueue_track(ctx, manager, guild_id.to_owned(), track_url).await {
|
||||||
Ok(items) => {
|
Ok(items) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user