diff --git a/example/music-bot/index.js b/example/music-bot/index.js index 885a806..f8302fa 100644 --- a/example/music-bot/index.js +++ b/example/music-bot/index.js @@ -58,7 +58,7 @@ client.on("message", async (message) => { options: [ { name: "query", - type: "String", + type: "STRING", description: "The song you want to play", required: true } @@ -70,7 +70,7 @@ client.on("message", async (message) => { options: [ { name: "query", - type: "String", + type: "STRING", description: "The song you want to play", required: true } @@ -82,7 +82,7 @@ client.on("message", async (message) => { options: [ { name: "amount", - type: "Integer", + type: "INTEGER", description: "The volume amount to set (0-100)", required: false } @@ -94,7 +94,7 @@ client.on("message", async (message) => { options: [ { name: "mode", - type: "Integer", + type: "INTEGER", description: "Loop type", required: true, choices: [ diff --git a/package.json b/package.json index 1e176ea..7b2daa8 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "soundcloud-scraper": "^5.0.0", "spotify-url-info": "^2.2.3", "tiny-typed-emitter": "^2.0.3", - "youtube-sr": "^4.1.5", + "youtube-sr": "^4.1.6", "ytdl-core": "^4.8.3" }, "devDependencies": { diff --git a/tsconfig.json b/tsconfig.json index 629bcf8..cab97f8 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,7 +6,8 @@ "outDir": "./lib", "strict": true, "strictNullChecks": false, - "esModuleInterop": true + "esModuleInterop": true, + "pretty": true }, "include": [ "src/**/*" diff --git a/yarn.lock b/yarn.lock index 9d4e2c7..dc20d35 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4845,16 +4845,16 @@ write@1.0.3: dependencies: mkdirp "^0.5.1" -ws@^7.4.4, ws@^7.4.5: - version "7.5.0" - resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.0.tgz#0033bafea031fb9df041b2026fc72a571ca44691" - integrity sha512-6ezXvzOZupqKj4jUqbQ9tXuJNo+BR2gU8fFRk3XCP3e0G6WT414u5ELe6Y0vtp7kmSJ3F7YWObSNr1ESsgi4vw== - -ws@^7.5.0: +ws@^7.4.4, ws@^7.5.0: version "7.5.1" resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.1.tgz#44fc000d87edb1d9c53e51fbc69a0ac1f6871d66" integrity sha512-2c6faOUH/nhoQN6abwMloF7Iyl0ZS2E9HGtsiLrWn0zOOMWlhtDmdf/uihDt6jnuCxgtwGBNy6Onsoy2s2O2Ow== +ws@^7.4.5: + version "7.5.0" + resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.0.tgz#0033bafea031fb9df041b2026fc72a571ca44691" + integrity sha512-6ezXvzOZupqKj4jUqbQ9tXuJNo+BR2gU8fFRk3XCP3e0G6WT414u5ELe6Y0vtp7kmSJ3F7YWObSNr1ESsgi4vw== + xml-name-validator@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a" @@ -4910,10 +4910,10 @@ yn@3.1.1: resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50" integrity sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q== -youtube-sr@^4.1.5: - version "4.1.5" - resolved "https://registry.yarnpkg.com/youtube-sr/-/youtube-sr-4.1.5.tgz#f35627574a47b6d5b39dec792e8bb00f93e04809" - integrity sha512-yLTtjy8ougH6ReCEsCRN9mxgS+rcm44421pYxown3QR9bUivNjxkYwB1+OfW+Z9V9hBE/chp9y7SBpK63vrk7g== +youtube-sr@^4.1.6: + version "4.1.6" + resolved "https://registry.yarnpkg.com/youtube-sr/-/youtube-sr-4.1.6.tgz#0cbc3e5c4d6d5931330914aa84558b2c09980734" + integrity sha512-W/Qh7niooX7aMUaM9jp7NDNHuX764mAaoOH34V9q5E7v1RrHig+vd2rfAplfQILPPIs/blO3gG82D4/l/lbegg== dependencies: node-fetch "^2.6.1"