🐛 Fix musicStop event

This commit is contained in:
Androz2091 2020-08-27 07:25:14 +02:00
parent 5c784991ca
commit 33728658fa

View file

@ -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)