mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 07:40:44 +00:00
fix(rtt): parse telegram scenario list
This commit is contained in:
@@ -17,11 +17,10 @@ const maxWarmFailures = Number(
|
||||
);
|
||||
const successMarker = process.env.OPENCLAW_NPM_TELEGRAM_SUCCESS_MARKER ?? "OPENCLAW_E2E_OK";
|
||||
const scenarioIds = new Set(
|
||||
process.env.OPENCLAW_NPM_TELEGRAM_SCENARIOS ??
|
||||
"telegram-mentioned-message-reply"
|
||||
.split(",")
|
||||
.map((value) => value.trim())
|
||||
.filter(Boolean),
|
||||
(process.env.OPENCLAW_NPM_TELEGRAM_SCENARIOS ?? "telegram-mentioned-message-reply")
|
||||
.split(",")
|
||||
.map((value) => value.trim())
|
||||
.filter(Boolean),
|
||||
);
|
||||
|
||||
if (!groupId || !driverToken || !sutToken) {
|
||||
|
||||
Reference in New Issue
Block a user