mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-23 07:38:00 -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.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