"Could not extract stream for this track" Err
Yesterday I tested some things from my bot, and today it just isn't working anymore the music part of it. Today I tried to go back to his version, and nothing works or stops giving the error.
Code:
results.playlist
? queue.addTrack(results.tracks)
: queue.addTrack(results.tracks[0]);
if (!queue.isPlaying()) await queue.node.play();
return message.react("š");
Error:
const error = new Error("Could not extract stream for this track");
^
Error: Could not extract stream for this track
at GuildQueuePlayerNode.play (\Wolf-Project-New\node_modules\discord-player\dist\index.js:949:23)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Object.execute (\Wolf-Project-New\src\commands\play.js:87:29)
Version:
Discord.js: v14.7.1
Node.js: v17.0.1
npm: v8.1.01 Reply
ā¢ What's your exact discord.js
npm list discord.js
and node node -v
version?
ā¢ Post the full error stack trace, not just the top part!
ā¢ Show your code!
ā¢ Explain what exactly your issue is.
ā¢ Not a discord.js issue? Check out #useful-servers.