#"Could not extract stream for this track" Err

1 messages · Page 1 of 1 (latest)

regal heron

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.0