fix: QRLogin
This commit is contained in:
		@@ -442,7 +442,7 @@ class Client extends BaseClient {
 | 
				
			|||||||
   * client.QRLogin();
 | 
					   * client.QRLogin();
 | 
				
			||||||
   */
 | 
					   */
 | 
				
			||||||
  QRLogin(options = {}) {
 | 
					  QRLogin(options = {}) {
 | 
				
			||||||
    const QR = new DiscordAuthWebsocket(options);
 | 
					    const QR = new DiscordAuthWebsocket({ ...options, autoLogin: true });
 | 
				
			||||||
    this.emit(Events.DEBUG, `Preparing to connect to the gateway (QR Login)`, QR);
 | 
					    this.emit(Events.DEBUG, `Preparing to connect to the gateway (QR Login)`, QR);
 | 
				
			||||||
    return QR.connect(this);
 | 
					    return QR.connect(this);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user