-
|
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.
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.
-
Beta Was this translation helpful? Give feedback.
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: