diff --git a/package.json b/package.json index c66ade3..7c8444e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "damonjs", - "version": "1.8.4", + "version": "1.8.5", "preview": false, "description": "A modified Shoukaku wrapper with enhanced queue support.", "main": "dist/Index.js", diff --git a/src/Index.ts b/src/Index.ts index e2612de..9490306 100644 --- a/src/Index.ts +++ b/src/Index.ts @@ -8,4 +8,4 @@ export * from './DamonJs'; export { DamonJsTrack, DamonJsQueue, DamonJsPlayer, Plugins }; export * from './Modules/Interfaces'; -export const version = '1.8.4'; +export const version = '1.8.5'; diff --git a/src/Managers/DamonJsPlayer.ts b/src/Managers/DamonJsPlayer.ts index 2e0cf3b..135a1a0 100644 --- a/src/Managers/DamonJsPlayer.ts +++ b/src/Managers/DamonJsPlayer.ts @@ -148,6 +148,7 @@ export class DamonJsPlayer { if (!this.queue.current) return this.emit(Events.Debug, this, `No track to start ${this.guildId}`); this.isTrackPlaying = true; this.player.paused = false; + this.queue.current.data.clear(); this.emit(Events.PlayerStart, this, this.queue.current); }); }