node:events:498
throw er; // Unhandled 'error' event
^
R [Error]: Status code: 403
at ClientRequest.<anonymous> (C:\Users\kiril\Documents\bot rewrite\node_modules\miniget\dist\index.js:206:27)
at Object.onceWrapper (node:events:640:26)
at ClientRequest.emit (node:events:520:28)
at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:618:27)
at HTTPParser.parserOnHeadersComplete (node:_http_common:128:17)
at HTTPParser.execute (<anonymous>)
at TLSSocket.socketOnData (node:_http_client:482:22)
at TLSSocket.emit (node:events:520:28)
at addChunk (node:internal/streams/readable:315:12)
at readableAddChunk (node:internal/streams/readable:289:9)
Emitted 'error' event on B instance at:
at OggDemuxer.t (C:\Users\kiril\Documents\bot rewrite\node_modules\@discordjs\voice\dist\index.js:8:288)
at Object.onceWrapper (node:events:640:26)
at OggDemuxer.emit (node:events:532:35)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
This is not caused by certain videos as videos can be retried and will work, seems like more of an issue with a library or youtube specifically.
This is not caused by certain videos as videos can be retried and will work, seems like more of an issue with a library or youtube specifically.