diff --git a/src/Player.js b/src/Player.js index 9ea41e1..53ac97d 100644 --- a/src/Player.js +++ b/src/Player.js @@ -545,6 +545,7 @@ class Player extends EventEmitter { } else { const track = playlist.tracks.shift() const queue = await this._createQueue(message, track).catch((e) => this.emit('error', e, message)) + this.emit('playlistAdd', message, queue, playlist) this.emit('trackStart', message, queue.tracks[0], queue) this._addTracksToQueue(message, playlist.tracks) }