I'm Aayush, a Developer Working Mainly in the NodeJS Environment
๐ป About Me
๐ค ย I love helping people and sharing my knowledge and experiences with fellow devs. Creating quirky and fun sites is one of my passions.
๐ ย Studying at SIU, I expand my tech stack through YouTube, online resources (hello, Stack Overflow!), and the good old trial and error method.
๐ ย Previously, I worked on a freemium web & application hosting service called SoloNodes to provide beginner devs with VPS hosting for their projects. I eventually sold it as many were exploiting the free service.
๐ง ย Currently, I'm mastering full-stack development using the MERN stack, along with managing mobile programming and PHP at University.
the bot is working fine, but i want to make a request on how to make the bot continue the song after they reconnect.
because the bots stay only for about 12 hours and i want to them to continue the song that left behind after it reconnect
/home/runner/BrokenDisc/src/index.js
at Object.loader [as require] (/home/runner/BrokenDisc/node_modules/prism-media/src/util/loader.js:12:9)
at loadOpus (/home/runner/BrokenDisc/node_modules/prism-media/src/opus/Opus.js:17:17)
at new OpusStream (/home/runner/BrokenDisc/node_modules/prism-media/src/opus/Opus.js:46:10)
at new Encoder (/home/runner/BrokenDisc/node_modules/prism-media/src/opus/Opus.js:149:5)
at Object.transformer (/home/runner/BrokenDisc/node_modules/discord-player/node_modules/@discordjs/voice/dist/index.js:8:13311)
at /home/runner/BrokenDisc/node_modules/discord-player/node_modules/@discordjs/voice/dist/index.js:8:16735
at Array.map ()
at We (/home/runner/BrokenDisc/node_modules/discord-player/node_modules/@discordjs/voice/dist/index.js:8:16726)
at StreamDispatcher.createStream (/home/runner/BrokenDisc/node_modules/discord-player/dist/VoiceInterface/StreamDispatcher.js:116:62)
at Queue. (/home/runner/BrokenDisc/node_modules/discord-player/dist/Structures/Queue.js:699:46)
Error: Error: Cannot find module '/home/runner/BrokenDisc/node_modules/@discordjs/opus/prebuild/node-v93-napi-v3-linux-x64-glibc-2.24/opus.node'
Require stack:
iniget/dist/index.js:196:27)
at Object.onceWrapper (events.js:421:26)
at ClientRequest.emit (events.js:314:20)
at HTTPParser.parserOnIncomingClient (_http_client.js:601:27)
at HTTPParser.parserOnHeadersComplete (_http_common.js:122:17)
at TLSSocket.socketOnData (_http_client.js:474:22)
at TLSSocket.emit (events.js:314:20)
at addChunk (_stream_readable.js:297:12)
at readableAddChunk (_stream_readable.js:272:9)
at TLSSocket.Readable.push (_stream_readable.js:213:10) {
statusCode: 404
If the bot is on 100% volume, and I write "/volume 200", then the bot will check the previous volume and announce that it has updated to that volume (which was 100%). It should say "200%".
This is only visual, as the volume itself does actually change correctly.
I think i may have seen it on other video sources but main ones i have reproduced it on are youtube videos, this problem does not occure on all videos but so far probally around half of them. Also did a clean install to test it happens before i made any modifications to the bot.