410 error Discord-Player

Hello i have probleme do you know why ? In my local bot its good BUT in my vps with same code he dont work
"@discordjs/opus": "^0.9.0",
"@web-scrobbler/metadata-filter": "^3.1.0",
"discord-player": "^6.6.9",
"discord.js": "^14.15.2",
"glob": "^10.4.1",
"ytdl-core": "^4.11.5"
"@discordjs/opus": "^0.9.0",
"@web-scrobbler/metadata-filter": "^3.1.0",
"discord-player": "^6.6.9",
"discord.js": "^14.15.2",
"glob": "^10.4.1",
"ytdl-core": "^4.11.5"
Error: Status code: 410
at ClientRequest.<anonymous> (/home/global/OnyBOTV2/node_modules/miniget/dist/index.js:206:27)
at Object.onceWrapper (node:events:633:26)
at ClientRequest.emit (node:events:518:28)
at HTTPParser.parserOnIncomingClient (node:_http_client:698:27)
at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
at TLSSocket.socketOnData (node:_http_client:540:22)
at TLSSocket.emit (node:events:518:28)
at addChunk (node:internal/streams/readable:559:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
at Readable.push (node:internal/streams/readable:390:5)
at Proxy.<anonymous> (/home/global/OnyBOTV2/node_modules/discord-player/dist/index.js:324:25)
at #throw (/home/global/OnyBOTV2/node_modules/discord-player/dist/index.js:2898:80)
at _GuildQueuePlayerNode.play (/home/global/OnyBOTV2/node_modules/discord-player/dist/index.js:2800:56)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async _Player.play (/home/global/OnyBOTV2/node_modules/discord-player/dist/index.js:5633:9)
at async Object.execute (/home/global/OnyBOTV2/Discord/Commands/TechnicienBot/Play.js:45:39)
Error: Status code: 410
at ClientRequest.<anonymous> (/home/global/OnyBOTV2/node_modules/miniget/dist/index.js:206:27)
at Object.onceWrapper (node:events:633:26)
at ClientRequest.emit (node:events:518:28)
at HTTPParser.parserOnIncomingClient (node:_http_client:698:27)
at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
at TLSSocket.socketOnData (node:_http_client:540:22)
at TLSSocket.emit (node:events:518:28)
at addChunk (node:internal/streams/readable:559:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
at Readable.push (node:internal/streams/readable:390:5)
at Proxy.<anonymous> (/home/global/OnyBOTV2/node_modules/discord-player/dist/index.js:324:25)
at #throw (/home/global/OnyBOTV2/node_modules/discord-player/dist/index.js:2898:80)
at _GuildQueuePlayerNode.play (/home/global/OnyBOTV2/node_modules/discord-player/dist/index.js:2800:56)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async _Player.play (/home/global/OnyBOTV2/node_modules/discord-player/dist/index.js:5633:9)
at async Object.execute (/home/global/OnyBOTV2/Discord/Commands/TechnicienBot/Play.js:45:39)
3 Replies
d.js toolkit
d.js toolkit4mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by staff
Mark
Mark4mo ago
This is not related to d.js, it's another package, and one that violates the discord TOS to boot
_Syio
_Syio4mo ago
Okay thx, and you know how do music bot for discord TOS ? How do the already existing bots do? So they have no way? 😦 Okay thank you for all :/ I'm disgusted but thank you anyway
Want results from more Discord servers?
Add your server