⬆️ v3.0.0-beta.1 bump ytsr
This commit is contained in:
parent
6ad3240aca
commit
6ff0d6ad42
2 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "discord-player",
|
"name": "discord-player",
|
||||||
"version": "3.0.0-beta.0",
|
"version": "3.0.0-beta.1",
|
||||||
"description": "Complete framework to facilitate music commands using discord.js v12",
|
"description": "Complete framework to facilitate music commands using discord.js v12",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -34,8 +34,8 @@
|
||||||
"node-fetch": "^2.6.0",
|
"node-fetch": "^2.6.0",
|
||||||
"soundcloud-scraper": "^2.0.0",
|
"soundcloud-scraper": "^2.0.0",
|
||||||
"spotify-url-info": "^1.3.1",
|
"spotify-url-info": "^1.3.1",
|
||||||
"ytpl": "^0.2.4",
|
"ytpl": "^1.0.1",
|
||||||
"ytsr": "^0.1.19"
|
"ytsr": "^1.0.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@discordjs/opus": "^0.3.2",
|
"@discordjs/opus": "^0.3.2",
|
||||||
|
|
|
@ -23,7 +23,7 @@ module.exports = class Util {
|
||||||
}
|
}
|
||||||
|
|
||||||
static isYTPlaylistLink (query) {
|
static isYTPlaylistLink (query) {
|
||||||
return ytpl.validateURL(query)
|
return ytpl.validateID(query)
|
||||||
}
|
}
|
||||||
|
|
||||||
static isYTVideoLink (query) {
|
static isYTVideoLink (query) {
|
||||||
|
|
Loading…
Reference in a new issue