forked from embee/woomy
use invidious for music instead of youtube
This commit is contained in:
parent
a155b7dde7
commit
de956b5197
2 changed files with 2 additions and 1 deletions
|
@ -23,6 +23,7 @@
|
||||||
"to-zalgo": "^1.0.1",
|
"to-zalgo": "^1.0.1",
|
||||||
"urban": "^0.3.2",
|
"urban": "^0.3.2",
|
||||||
"weather-js": "^2.0.0",
|
"weather-js": "^2.0.0",
|
||||||
|
"ytdl-core": "github:FLGX06/node-ytdl-core#invidious",
|
||||||
"ytdl-core-discord": "github:amishshah/ytdl-core-discord"
|
"ytdl-core-discord": "github:amishshah/ytdl-core-discord"
|
||||||
},
|
},
|
||||||
"devDependencies": {},
|
"devDependencies": {},
|
||||||
|
|
|
@ -37,7 +37,7 @@ exports.getGuild = function (id) {
|
||||||
}
|
}
|
||||||
|
|
||||||
exports.getLinkFromID = function (id) {
|
exports.getLinkFromID = function (id) {
|
||||||
return 'https://www.youtube.com/watch?v=' + id
|
return 'https://invidio.us/watch?v=' + id
|
||||||
}
|
}
|
||||||
|
|
||||||
exports.getVideoByQuery = async function (client, query, message) {
|
exports.getVideoByQuery = async function (client, query, message) {
|
||||||
|
|
Loading…
Reference in a new issue