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
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user