DiscordBotNodeJs icon indicating copy to clipboard operation
DiscordBotNodeJs copied to clipboard

Music cutting out before the song finishes

Open jonxmitchell opened this issue 6 years ago • 3 comments

Hello, I am having a bit of an issue with the bot cutting the music before the song has finished.

What happens is I will summon the bot using the play command, the bot will then join the channel I am in and begin to play the music and then about 3/4 of the way through the song, it will stop playing the song and the bot will leave the channel and this is what it says in the console:

--> Song ended --> Leaving voice channel: Lobby #1

Not sure if this is related but thought I would mention it, but when I have requested a song to be played in the text it says the duration of the song is 3:01 when it is actually 3:10.

jonxmitchell avatar Aug 12 '19 06:08 jonxmitchell

Do you remember what song it was?

MonsterMannen avatar Aug 12 '19 23:08 MonsterMannen

Hello,

Thank you for your reply.

I tried the following songs: https://www.youtube.com/watch?v=Ow_qI_F2ZJI (showed 3:01 for duration) https://www.youtube.com/watch?v=f12SjETW4eU (showed 4:04 for duration) https://www.youtube.com/watch?v=-iM83TiKdY0 (showed 4:05 for duration)

All of those songs cut out about 3/4 through the song and the bot would then leave the channel or move onto the next song if one is queued.

jonxmitchell avatar Aug 13 '19 07:08 jonxmitchell

Hello I had the same problem on my bot and it solved itself... This is an interesting issue: https://github.com/chalda/DiscordBot/pull/141

Androz2091 avatar Aug 13 '19 08:08 Androz2091