diff --git a/src/Player.ts b/src/Player.ts index bb32690..66dd1c6 100644 --- a/src/Player.ts +++ b/src/Player.ts @@ -324,6 +324,7 @@ export class Player extends EventEmitter { const queue = (await this._createQueue(message, track).catch( (e) => void this.emit(PlayerEvents.ERROR, e, message) )) as Queue; + this.emit(PlayerEvents.PLAYLIST_ADD, message, queue, res); this.emit(PlayerEvents.TRACK_START, message, queue.tracks[0], queue); this._addTracksToQueue(message, res.tracks); }