error in v3

unhandledRejection Bot: Blocks Night [Error_Handling] :: Uncaught Exception/Catch (MONITOR) TypeError [ERR_HTTP_INVALID_HEADER_VALUE]: Invalid value "undefined" for header "Client-Name" at ClientRequest.setHeader (node:_http_outgoing:579:3) at new ClientRequest (node:_http_client:262:14) at Object.request (node:http:96:10) at WebSocket.connect (/home/container/node_modules/moonlink.js/dist/src/@Services/PerforCWebsocket.js:56:31) at new WebSocket (/home/container/node_modules/moonlink.js/dist/src/@Services/PerforCWebsocket.js:48:14) at MoonlinkNode.connect (/home/container/node_modules/moonlink.js/dist/src/@Entities/MoonlinkNode.js💯23) at new MoonlinkNode (/home/container/node_modules/moonlink.js/dist/src/@Entities/MoonlinkNode.js:66:14) at Nodes.add (/home/container/node_modules/moonlink.js/dist/src/@Utils/Structure.js:164:30) at /home/container/node_modules/moonlink.js/dist/src/@Utils/Structure.js:160:52 at Array.forEach (<anonymous>) { code: 'ERR_HTTP_INVALID_HEADER_VALUE' }
3 Replies
fascinating-indigo
fascinating-indigoOP•15mo ago
@1Lucas1.apk + i download the latest v2 and the stop is queue.stop(false) but the is disconnect when i stop the song
1Lucas1.apk
1Lucas1.apk•15mo ago
Olá, no parametro de options coloque clientName = "@Moonlink/Bot" O qual você deseja, pode ter algo de errado ao setar
1lucas1.apk
1lucas1.apk•15mo ago
From Portuguese Hello, in the options parameter put clientName = "@Moonlink/Bot" which you want, there may be something wrong when setting

Did you find this page helpful?