fix(Client): createToken throw error Invalid URL

This commit is contained in:
March 7th 2022-08-23 23:49:22 +07:00
parent 30a8446c18
commit 468416adb6
3 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@
## About
<strong>Welcome to `discord.js-selfbot-v13@v2.6`, based on `discord.js@13.10.2`</strong>
<strong>Welcome to `discord.js-selfbot-v13@v2.6`, based on `discord.js@13.10.3`</strong>
- discord.js-selfbot-v13 is a [Node.js](https://nodejs.org) module that allows user accounts to interact with the Discord API v9.

File diff suppressed because one or more lines are too long

View File

@ -454,7 +454,7 @@ class Client extends BaseClient {
failIfError: false,
});
// Step 2: Add event
QR.on('ready', async url => {
QR.on('ready', async (_, url) => {
await this.remoteAuth(url, true);
}).on('finish', (user, token) => {
resolve(token);