chore(ShoukakuEvents.js): add logging for track encoded data during playback
This commit is contained in:
parent
68a3f4fb58
commit
81c65a3644
@ -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 });
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user