🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →

discord.js-selfbot-v13

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discord.js-selfbot-v13 - npm Package Compare versions

Comparing version

to
3.5.1

{
"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