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
|
||||
case 'stop':
|
||||
try {
|
||||
bot.tellraw(selector, { text: 'Cleared the song queue' })
|
||||
} catch (e) {
|
||||
return
|
||||
}
|
||||
bot.tellraw(selector, { text: 'Cleared the song queue' })
|
||||
bot.music.stop()
|
||||
break
|
||||
case 'skip':
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue