1 Commits
2.4.2 ... 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

1
.gitignore vendored
View File

@@ -8,3 +8,4 @@ cookies.txt
bin/ bin/
mychats.txt mychats.txt
manybot.conf manybot.conf
update.log

View File

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