diff --git a/package.json b/package.json index d5170b3..0d27b3d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "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", "main": "index.js", "scripts": { @@ -34,8 +34,8 @@ "node-fetch": "^2.6.0", "soundcloud-scraper": "^2.0.0", "spotify-url-info": "^1.3.1", - "ytpl": "^0.2.4", - "ytsr": "^0.1.19" + "ytpl": "^1.0.1", + "ytsr": "^1.0.1" }, "devDependencies": { "@discordjs/opus": "^0.3.2", diff --git a/src/Util.js b/src/Util.js index c3c9bfa..89b63ca 100644 --- a/src/Util.js +++ b/src/Util.js @@ -23,7 +23,7 @@ module.exports = class Util { } static isYTPlaylistLink (query) { - return ytpl.validateURL(query) + return ytpl.validateID(query) } static isYTVideoLink (query) {