Audio Player state changes to playing when resource ends
I am creating an audio resource from a ytdl download, and when I play this resource on the player with
player.play(resource)
the players state is set to "buffering", once the resource stops playing in the voice channel the players state changes to "playing". I am listening for when the player goes idle to queue the next song, however it never goes idle. My code is below:
Queue:
3 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.Discord.js: 14.8.0
@discordjs/voice: 0.16.0
I get this problem too
could you please answer the question?