I am developing my own music (and not music only) bot for discord, I had a lot of problems with this, but I got a new one when I decided to turn the line of songs. An error started to appear in the console:
events.js:288
throw er; // Unhandled 'error' event
^
Error: Status code: 416
at ClientRequest.<anonymous> (C:\MrZBou Pack\HetcherBot\node_modules\miniget\dist\index.js:128:27)
at Object.onceWrapper (events.js:418:26)
at ClientRequest.emit (events.js:311:20)
at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:603:27)
at HTTPParser.parserOnHeadersComplete (_http_common.js:119:17)
at TLSSocket.socketOnData (_http_client.js:476:22)
at TLSSocket.emit (events.js:311:20)
at addChunk (_stream_readable.js:294:12)
at readableAddChunk (_stream_readable.js:275:11)
at TLSSocket.Readable.push (_stream_readable.js:209:10)
Emitted 'error' event on PassThrough instance at:
at PassThrough.<anonymous> (C:\MrZBou Pack\HetcherBot\node_modules\ytdl-core-discord\node_modules\ytdl-core\lib\index.js:133:14)
at PassThrough.emit (events.js:311:20)
at ClientRequest.<anonymous> (C:\MrZBou Pack\HetcherBot\node_modules\miniget\dist\index.js:133:28)
at Object.onceWrapper (events.js:418:26)
[... lines matching original stack trace ...]
at addChunk (_stream_readable.js:294:12)
NPM@6.14.1 Windows 10 Issue with code
I am developing my own music (and not music only) bot for discord, I had a lot of problems with this, but I got a new one when I decided to turn the line of songs. An error started to appear in the console:
Music commands: