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) {
|
async play(track) {
|
||||||
this.current = track;
|
this.current = track;
|
||||||
logger.debug(`Attempting to play track: ${track.info.title} (${track.info.uri}) in guild ${this.guild}`);
|
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 {
|
try {
|
||||||
// Start playback
|
// Start playback
|
||||||
await this.connection.playTrack({ track: track.encoded });
|
await this.connection.playTrack({ track: track.encoded });
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user