🐛 Fix musicStop event
This commit is contained in:
parent
5c784991ca
commit
33728658fa
1 changed files with 1 additions and 1 deletions
|
@ -675,7 +675,7 @@ class Player extends EventEmitter {
|
||||||
this.queues.delete(queue.guildID)
|
this.queues.delete(queue.guildID)
|
||||||
// Emit stop event
|
// Emit stop event
|
||||||
if (queue.stopped) {
|
if (queue.stopped) {
|
||||||
return queue.emit('musicStopp')
|
return queue.emit('musicStop')
|
||||||
}
|
}
|
||||||
// Emit end event
|
// Emit end event
|
||||||
return queue.emit('queueEnd', queue.firstMessage, queue)
|
return queue.emit('queueEnd', queue.firstMessage, queue)
|
||||||
|
|
Loading…
Reference in a new issue