diff --git a/src/structures/ShoukakuEvents.js b/src/structures/ShoukakuEvents.js index 6a20201..4edeb5b 100644 --- a/src/structures/ShoukakuEvents.js +++ b/src/structures/ShoukakuEvents.js @@ -58,8 +58,8 @@ class MusicPlayer { logger.debug(`Attempting to play track: ${track.info.title} (${track.info.uri}) in guild ${this.guild}`); logger.debug(`Track encoded data: ${track.encoded}`); // Log encoded data try { - // Start playback - await this.connection.playTrack({ track: track.encoded }); + // Start playback - Ensure payload matches { track: { encoded: "..." } } + await this.connection.playTrack({ track: { encoded: track.encoded } }); this.playing = true; logger.debug(`playTrack called successfully for: ${track.info.title}`); } catch (playError) {