Skip to content

DiscordAuthWebsocket

classe · Source

Discord Auth QR

Extends: EventEmitter

Constructor

new DiscordAuthWebsocket()

Properties

AuthURL

AuthURL: string
[Source](https://github.com/AltKit/discord/blob/selfbotjs/src/util/RemoteAuth.js#L73)

exprire

exprire: Date
[Source](https://github.com/AltKit/discord/blob/selfbotjs/src/util/RemoteAuth.js#L80)

user

user: UserRaw
[Source](https://github.com/AltKit/discord/blob/selfbotjs/src/util/RemoteAuth.js#L87)

Methods

connect

connect(client?: Client): Promise<void>

Connect WS Parameters

NameTypeDescription
client?ClientDiscordJS Client

Returns: Promise<void>Source

destroy

destroy(): void

Destroy client Returns: voidSource

generateQR

generateQR(): void

Generate QR code for user to scan (Terminal) Returns: voidSource

Events

error

error: unknown

WS Error Parameters

NameTypeDescription
errorErrorError
Source

debug

debug: unknown

Debug Event Parameters

NameTypeDescription
msgstringDebug msg
Source

ready

ready: unknown

Ready Event Parameters

NameTypeDescription
clientDiscordAuthWebsocketWS
Source

cancel

cancel: unknown

Cancel Parameters

NameTypeDescription
clientDiscordAuthWebsocketWS
Source

pending

pending: unknown

Emitted whenever a user is scan QR Code. Parameters

NameTypeDescription
userUserRawDiscord User Raw
Source

closed

closed: unknown

Emitted whenever a connection is closed. Source

finish

finish: unknown

Emitted whenever a real token is found. Parameters

NameTypeDescription
tokenstringDiscord Token
Source

Unofficial software. Not affiliated with or supported by Discord.