fix(Client): createToken throw error Invalid URL
This commit is contained in:
parent
30a8446c18
commit
468416adb6
@ -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
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user