chore(ShoukakuEvents.js): add logging for track encoded data during playback

This commit is contained in:
Jose Daniel G. Percy 2025-04-24 03:07:08 +08:00
parent 68a3f4fb58
commit 81c65a3644

View File

@ -56,6 +56,7 @@ class MusicPlayer {
async play(track) {
this.current = track;
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 });