From 6ff0d6ad42b4e4e2db2914069d1b883c1618f6fb Mon Sep 17 00:00:00 2001 From: Androz2091 Date: Thu, 24 Sep 2020 18:36:01 +0200 Subject: [PATCH] :arrow_up: v3.0.0-beta.1 bump ytsr --- package.json | 6 +++--- src/Util.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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) {