update the youtube extractor library #105
4 changed files with 11 additions and 22 deletions
|
@ -18,6 +18,6 @@ RUN npx tsc
|
|||
RUN rm -r src/ tsconfig.json
|
||||
RUN npm uninstall typescript @types/sqlite3
|
||||
|
||||
ENV DP_FORCE_YTDL_MOD=play-dl
|
||||
ENV DP_FORCE_YTDL_MOD=yt-stream
|
||||
|
||||
CMD ["dumb-init", "node", "./dist/index.js"]
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
TOKEN_DISCORD="your-token-goes-here"
|
||||
DP_FORCE_YTDL_MOD="play-dl"
|
||||
DP_FORCE_YTDL_MOD="yt-stream"
|
||||
|
|
25
package-lock.json
generated
25
package-lock.json
generated
|
@ -17,10 +17,10 @@
|
|||
"discord-player": "^6.6.2",
|
||||
"discord.js": "^14.12.1",
|
||||
"genius-lyrics": "^4.4.3",
|
||||
"play-dl": "^1.9.6",
|
||||
"sqlite3": "^5.1.6",
|
||||
"typescript": "^5.1.6",
|
||||
"uuid": "^9.0.0"
|
||||
"uuid": "^9.0.0",
|
||||
"yt-stream": "^1.4.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "^6.2.1",
|
||||
|
@ -2986,22 +2986,6 @@
|
|||
"url": "https://github.com/sponsors/jonschlinkert"
|
||||
}
|
||||
},
|
||||
"node_modules/play-audio": {
|
||||
"version": "0.5.2",
|
||||
"resolved": "https://registry.npmjs.org/play-audio/-/play-audio-0.5.2.tgz",
|
||||
"integrity": "sha512-ZAqHUKkQLix2Iga7pPbsf1LpUoBjcpwU93F1l3qBIfxYddQLhxS6GKmS0d3jV8kSVaUbr6NnOEcEMFvuX93SWQ=="
|
||||
},
|
||||
"node_modules/play-dl": {
|
||||
"version": "1.9.6",
|
||||
"resolved": "https://registry.npmjs.org/play-dl/-/play-dl-1.9.6.tgz",
|
||||
"integrity": "sha512-JW44bQbME9fNfGhGXQ/rdcsHr4BfgJabVlSgpS9QY/NscfprFH1asv+q9atrZThP3+hHIpgtFNABccg9rFWlwg==",
|
||||
"dependencies": {
|
||||
"play-audio": "^0.5.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/prelude-ls": {
|
||||
"version": "1.2.1",
|
||||
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
|
||||
|
@ -4179,6 +4163,11 @@
|
|||
"version": "4.3.4",
|
||||
"resolved": "https://registry.npmjs.org/youtube-sr/-/youtube-sr-4.3.4.tgz",
|
||||
"integrity": "sha512-olSYcR80XigutCrePEXBX3/RJJrWfonJQj7+/ggBiWU0CzTDLE1q8+lpWTWCG0JpzhzILp/IB/Bq/glGqqr1TQ=="
|
||||
},
|
||||
"node_modules/yt-stream": {
|
||||
"version": "1.4.8",
|
||||
"resolved": "https://registry.npmjs.org/yt-stream/-/yt-stream-1.4.8.tgz",
|
||||
"integrity": "sha512-XtJ1njQ5xKSmW4FAk+YVliyV+XG5/ejAaANUqbyT5ya+COgW9hyswWh16mZJZzj+uEkRobzCId/oH4kP2VmTbQ=="
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -24,10 +24,10 @@
|
|||
"discord-player": "^6.6.2",
|
||||
"discord.js": "^14.12.1",
|
||||
"genius-lyrics": "^4.4.3",
|
||||
"play-dl": "^1.9.6",
|
||||
"sqlite3": "^5.1.6",
|
||||
"typescript": "^5.1.6",
|
||||
"uuid": "^9.0.0"
|
||||
"uuid": "^9.0.0",
|
||||
"yt-stream": "^1.4.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "^6.2.1",
|
||||
|
|
Loading…
Reference in a new issue