1 Commits
2.4.0 ... 2.3.5

Author SHA1 Message Date
synt-xerror
ae256da596 root support 2026-03-17 08:10:16 -03:00
2 changed files with 11 additions and 2 deletions

3
.gitignore vendored
View File

@@ -7,4 +7,5 @@ node_modules/
cookies.txt
bin/
mychats.txt
manybot.conf
manybot.conf
update.log

View File

@@ -16,7 +16,15 @@ logger.info(isTermux
// ── Instância ─────────────────────────────────────────────────
export const client = new Client({
authStrategy: new LocalAuth({ clientId: CLIENT_ID }),
puppeteer: { headless: true, ...resolvePuppeteerConfig() },
puppeteer: {
headless: true,
args: [
'--no-sandbox',
'--disable-setuid-sandbox',
...(resolvePuppeteerConfig().args || [])
],
...resolvePuppeteerConfig()
},
});
// ── Eventos ───────────────────────────────────────────────────