fix bug .-.
This commit is contained in:
parent
966435e11d
commit
69e5a2e73c
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "discord.js-selfbot-v13",
|
"name": "discord.js-selfbot-v13",
|
||||||
"version": "1.4.0",
|
"version": "1.4.01",
|
||||||
"description": "A unofficial discord.js fork for creating selfbots [Based on discord.js v13]",
|
"description": "A unofficial discord.js fork for creating selfbots [Based on discord.js v13]",
|
||||||
"main": "./src/index.js",
|
"main": "./src/index.js",
|
||||||
"types": "./typings/index.d.ts",
|
"types": "./typings/index.d.ts",
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
const { Buffer } = require('buffer');
|
const { Buffer } = require('buffer');
|
||||||
const crypto = require('crypto');
|
const crypto = require('crypto');
|
||||||
const { setInterval, clearInterval, setTimeout, clearTimeout } = require('node:timers');
|
const { setInterval, clearInterval, setTimeout, clearTimeout } = require('node:timers');
|
||||||
const { process } = require('process');
|
|
||||||
const { StringDecoder } = require('string_decoder');
|
const { StringDecoder } = require('string_decoder');
|
||||||
const { encode: urlsafe_b64encode } = require('safe-base64');
|
const { encode: urlsafe_b64encode } = require('safe-base64');
|
||||||
const WebSocket = require('ws');
|
const WebSocket = require('ws');
|
||||||
@ -148,7 +147,7 @@ class DiscordAuthWebsocket {
|
|||||||
if (this.debug) {
|
if (this.debug) {
|
||||||
console.log(`[WebSocket] Connection Destroyed, User login state: ${this.login_state ? 'success' : 'failure'}`);
|
console.log(`[WebSocket] Connection Destroyed, User login state: ${this.login_state ? 'success' : 'failure'}`);
|
||||||
}
|
}
|
||||||
if (!this.login_state) process.exit(1);
|
if (!this.login_state) throw new Error('Login failed');
|
||||||
}
|
}
|
||||||
|
|
||||||
public_key() {
|
public_key() {
|
||||||
|
Loading…
Reference in New Issue
Block a user