nanoclaw init
Some checks failed
Sync upstream & merge-forward skill branches / sync-and-merge (push) Has been cancelled
Merge-forward skill branches / merge-forward (push) Has been cancelled
Bump version / bump-version (push) Has been cancelled
Update token count / update-tokens (push) Has been cancelled

This commit is contained in:
woozu-shin
2026-03-24 01:43:09 +09:00
parent a1b8c70b5c
commit 4dc270d2dd
10 changed files with 1541 additions and 30 deletions

View File

@@ -71,3 +71,13 @@ export const TRIGGER_PATTERN = new RegExp(
// Uses system timezone by default
export const TIMEZONE =
process.env.TZ || Intl.DateTimeFormat().resolvedOptions().timeZone;
const telegramPoolEnv = readEnvFile(['TELEGRAM_BOT_POOL']);
export const TELEGRAM_BOT_POOL = (
process.env.TELEGRAM_BOT_POOL ||
telegramPoolEnv.TELEGRAM_BOT_POOL ||
''
)
.split(',')
.map((t) => t.trim())
.filter(Boolean);