This commit is contained in:
Lukáš H 2020-06-06 11:24:12 +02:00
parent 95ce384eee
commit 5cf74a65ab
No known key found for this signature in database
GPG key ID: 52AED802C323B705
2 changed files with 3 additions and 3 deletions

View file

@ -23,8 +23,8 @@
"to-zalgo": "^1.0.1",
"urban": "^0.3.2",
"weather-js": "^2.0.0",
"ytdl-core": "github:FLGX06/node-ytdl-core#invidious",
"ytdl-core-discord": "github:FLGX06/ytdl-core-discord#invidious"
"ytdl-core": "^2.1.7",
"ytdl-core-discord": "^1.2.0"
},
"devDependencies": {},
"scripts": {

View file

@ -37,7 +37,7 @@ exports.getGuild = function (id) {
}
exports.getLinkFromID = function (id) {
return 'https://invidio.us/watch?v=' + id + '&local=true'
return 'https://www.youtube.com/watch?v=' + id
}
exports.getVideoByQuery = async function (client, query, message) {