umutxyp / MusicBot

An enhanced music bot that is compatible with discord.js v14 and works with slash commands. Discord music bot codes that can be used on any server and are simple to install.
https://discord.gg/codes
982 stars 1.07k forks source link

Bot error message when song ends #41

Closed CIsxxc closed 1 year ago

CIsxxc commented 2 years ago

Hi,

When bot config is set to leaveOnFinish: true -

"voiceConfig: { leaveOnFinish: true, //If this variable is "true", the bot will leave the channel the music ends. leaveOnStop: false, //If this variable is "true", the bot will leave the channel when the music is stopped.

leaveOnEmpty: { //The leaveOnEnd variable must be "false" to use this system. status: false, //If this variable is "true", the bot will leave the channel when the bot is offline. cooldown: 10000000, //1000 = 1 second },"

This message shows in discord -

"I'm having trouble connecting to the voice channel. ❌ Like someone disconnected me? Im very sad. 😔"

Instead the bot should leave the channel and only say -

Queue is empty. You can play some more music, byebye... ✅

Is this correct?

umutxyp commented 2 years ago

Hi,

When bot config is set to leaveOnFinish: true -

"voiceConfig: { leaveOnFinish: true, //If this variable is "true", the bot will leave the channel the music ends. leaveOnStop: false, //If this variable is "true", the bot will leave the channel when the music is stopped.

leaveOnEmpty: { //The leaveOnEnd variable must be "false" to use this system. status: false, //If this variable is "true", the bot will leave the channel when the bot is offline. cooldown: 10000000, //1000 = 1 second },"

This message shows in discord -

"I'm having trouble connecting to the voice channel. ❌ Like someone disconnected me? Im very sad. 😔"

Instead the bot should leave the channel and only say -

Queue is empty. You can play some more music, byebye... ✅

Is this correct?

This is a problem with the distube module. I already sent a feedback to distube for the error.