#410 error Discord-Player

8 messages · Page 1 of 1 (latest)

light parrot
#

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"
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)
honest jettyBOT
#
  • What's your exact discord.js npm list discord.js and node node -v version?
  • Not a discord.js issue? Check out #1081585952654360687.
  • 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
manic laurel
#

This is not related to d.js, it's another package, and one that violates the discord TOS to boot

light parrot
#

Okay thx, and you know how do music bot for discord TOS ?

#

How do the already existing bots do?

proven quarry
#

Most of them violate discord TOS. Which is why they all disappear once they get big enough

light parrot
#

So they have no way? 😦

proven quarry
#

Some use legal sources. But if you find someone playing current charts and other licensed music they are violating someone‘s TOS (and by proxy discord‘s)