fix: interaction in forum channel

This commit is contained in:
March 7th
2022-11-04 19:11:35 +07:00
parent b3eedc34be
commit d4cfdc11e2
2 changed files with 8 additions and 0 deletions

View File

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