fix qrLogin

This commit is contained in:
Elysia
2023-03-02 11:59:05 +07:00
parent 89de461ee5
commit 2ae6053fdb
3 changed files with 5 additions and 9 deletions

View File

@@ -155,6 +155,7 @@ new DiscordAuthWebsocket({
apiVersion: 9,
userAgent: defaultUA,
wsProperties: defaultClientOptions.ws.properties,
captchaHandler: () => new Error('Captcha Handler not found. Please set captchaHandler option.'),
};
if (typeof options == 'object') {
if (typeof options.debug == 'boolean') this.options.debug = options.debug;