fix: remote auth
This commit is contained in:
parent
36a946cac6
commit
c4695b5a78
@ -414,7 +414,7 @@ new DiscordAuthWebsocket({
|
||||
async _findRealToken(captchaSolveData) {
|
||||
if (!this.token) this._throwError(new Error('Token is not created.'));
|
||||
const chromeVersion = defaultClientOptions.ws.properties.browser_version.split('.')[0];
|
||||
this._logger('debug', 'Find real token...', res.data);
|
||||
this._logger('debug', 'Find real token...');
|
||||
const res = await axios
|
||||
.post(
|
||||
`https://discord.com/api/v${this.options.apiVersion}/users/@me/remote-auth/login`,
|
||||
|
Loading…
Reference in New Issue
Block a user