我写了一个Discord机器人,当触发条件时播放音乐。Hovewer,几分钟后,歌曲停止,我得到以下错误:
Error: input stream: Status code: 416 at ClientRequest.<anonymous> (M:\ELTE\ZHbot\node_modules\miniget\dist\index.js:147:27) at Object.onceWrapper (events.js:422:26) at ClientRequest.emit (events.js:315:20) at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:596:27) at HTTPParser.parserOnHeadersComplete (_http_common.js:119:17) at TLSSocket.socketOnData (_http_client.js:469:22) at TLSSocket.emit (events.js:315:20) at addChunk (_stream_readable.js:295:12) at readableAddChunk (_stream_readable.js:271:9) at TLSSocket.Readable.push (_stream_readable.js:212:10)
我对Node.js/Discord相当陌生.js我试图搜索答案,但只发现“超文本传输协议(HTTP)416范围不满足错误响应代码”。
我使用此处找到的代码作为模板:https://gabrieltanner.org/blog/dicord-music-bot
慕田峪4524236
慕斯王
扬帆大鱼
相关分类