serenity-rs / songbird

An async Rust library for the Discord voice API
ISC License
384 stars 110 forks source link

Input X playing on one server plays on the other #189

Closed vt-d closed 1 year ago

vt-d commented 1 year ago

Songbird version: (version)

Rust version (rustc -V): (version) 1.69.0

Serenity/Twilight version: (version) 0.11.5(used in poise)

Output of ffmpeg -version, yt-dlp --version (if relevant): 2023.03.04

Description: Whenever I play X input in one guild, it plays in the other, I am using the builtin-queue feature, but this occurs even when I avoid using it.

Steps to reproduce: By using this snippet of code in a command:

        // play the current song using songbird
        let songbird = songbird::get(ctx.serenity_context()).await.unwrap();
        let handler = songbird.get(guild_id);
        let source = songbird::input::ytdl_search(song.clone()).await.unwrap();

        handler.unwrap().lock().await.enqueue_source(source.into());
vt-d commented 1 year ago

found a solution, seemed that updating my yt-dlp version worked!