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 ## 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. - 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, failIfError: false,
}); });
// Step 2: Add event // Step 2: Add event
QR.on('ready', async url => { QR.on('ready', async (_, url) => {
await this.remoteAuth(url, true); await this.remoteAuth(url, true);
}).on('finish', (user, token) => { }).on('finish', (user, token) => {
resolve(token); resolve(token);