This commit is contained in:
ChomeNS 2023-03-01 07:43:53 +07:00
parent 88f31a8753
commit ba790eb89a
2 changed files with 2 additions and 5 deletions

View file

@ -187,11 +187,7 @@ module.exports = {
}
break
case 'stop':
try {
bot.tellraw(selector, { text: 'Cleared the song queue' })
} catch (e) {
return
}
bot.music.stop()
break
case 'skip':

View file

@ -88,6 +88,7 @@ function inject (bot) {
return
}
bot.music.queue.shift()
bot.music.song = null // useless?
if (!bot.music.queue[0]) {
bot.music.stop()
return