Skip to content

Player do not play all song in queue #1795

Answered by twlite
Domipoke asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @Domipoke, based on the code snippet you've provided, it looks like you are not connecting to a channel. Please try connecting to a channel and see. In order to connect to a voice channel, use the following code snippet:

if (!queue.channel) await queue.connect(voiceChannel);

It would be great if you could also share your debug logs. In order to enable debug logs, please use the following code snippet:

client.once('ready', () => {
    const player = useMainPlayer();
    console.log(player.scanDeps());
    player.on('debug',console.log)
        .events.on('debug',(_,m) => console.log(m));
});

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Domipoke
Comment options

Answer selected by Domipoke
Comment options

You must be logged in to vote
1 reply
@Domipoke
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants