fix: remote auth

This commit is contained in:
March 7th 2022-12-25 21:58:32 +07:00
parent 36a946cac6
commit c4695b5a78

View File

@ -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`,