-
If I add 2 or more songs in queue it adds but the player stop playing finish the first one. My code:
|
Beta Was this translation helpful? Give feedback.
Answered by
twlite
Aug 13, 2023
Replies: 2 comments 2 replies
-
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));
}); |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Domipoke
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
It would be great if you could also share your debug logs. In order to enable debug logs, please use the following code snippet: