mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-14 10:44:55 -05:00
amogus
This commit is contained in:
parent
88f31a8753
commit
ba790eb89a
2 changed files with 2 additions and 5 deletions
|
@ -187,11 +187,7 @@ module.exports = {
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
case 'stop':
|
case 'stop':
|
||||||
try {
|
bot.tellraw(selector, { text: 'Cleared the song queue' })
|
||||||
bot.tellraw(selector, { text: 'Cleared the song queue' })
|
|
||||||
} catch (e) {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
bot.music.stop()
|
bot.music.stop()
|
||||||
break
|
break
|
||||||
case 'skip':
|
case 'skip':
|
||||||
|
|
|
@ -88,6 +88,7 @@ function inject (bot) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
bot.music.queue.shift()
|
bot.music.queue.shift()
|
||||||
|
bot.music.song = null // useless?
|
||||||
if (!bot.music.queue[0]) {
|
if (!bot.music.queue[0]) {
|
||||||
bot.music.stop()
|
bot.music.stop()
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue