discord.js-selfbot-v13
Advanced tools
Comparing version
{ | ||
"name": "discord.js-selfbot-v13", | ||
"version": "3.5.0", | ||
"version": "3.5.1", | ||
"description": "A unofficial discord.js fork for creating selfbots [Based on discord.js v13]", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
@@ -717,4 +717,2 @@ /* eslint-disable no-unreachable */ | ||
guild_id: "guildID", | ||
permissions: "62221393", // your permissions | ||
authorize: true | ||
}) | ||
@@ -725,3 +723,3 @@ */ | ||
const url = new URL(urlOAuth2); | ||
if (!/https:\/\/(canary\.|ptb\.)?discord.com\/api(\/v\d{1,2})?\/oauth2\/authorize\?/.test(urlOAuth2)) { | ||
if (!/^https:\/\/(?:canary\.|ptb\.)?discord\.com(?:\/api(?:\/v\d{1,2})?)?\/oauth2\/authorize\?/.test(urlOAuth2)) { | ||
throw new Error('INVALID_URL', urlOAuth2); | ||
@@ -728,0 +726,0 @@ } |
Sorry, the diff of this file is too big to display
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
1879047
050812
0