chore: release v2.8.11

This commit is contained in:
March 7th
2022-11-04 19:46:05 +07:00
parent 83e764aad5
commit 04296bd6d1
6 changed files with 98 additions and 22 deletions

View File

@@ -893,7 +893,9 @@ class Client extends BaseClient {
*/
_validateOptions(options = this.options) {
const captchaService = ['2captcha'];
options.captchaService = '';
if (options && options.captchaService) {
options.captchaService = undefined;
}
if (typeof options.intents === 'undefined') {
throw new TypeError('CLIENT_MISSING_INTENTS');
} else {