From 1a1af5934a792b8670224753e84b027e49906704 Mon Sep 17 00:00:00 2001 From: Matthew Jackson Date: Fri, 6 Mar 2026 16:51:30 -0800 Subject: [PATCH] Fix status: send via Telegram directly, short ack to stdout Prevents OpenClaw from relaying full report as plain-text duplicate. sendTelegram() handles formatted delivery, stdout just says "sent". Co-Authored-By: Claude Opus 4.6 --- status.mjs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/status.mjs b/status.mjs index 70be026..5223e57 100644 --- a/status.mjs +++ b/status.mjs @@ -267,10 +267,9 @@ if (jsonMode) { } else { const report = formatReport(status); const settings = loadConfig(resolve(__dir, 'config/settings.json')); - // Send via Telegram directly if configured (so markdown renders) if (settings.notifications?.bot_token && settings.notifications?.telegram_user_id) { await sendTelegram(settings, report); - // Don't also print to stdout — OpenClaw would relay it as a duplicate plain-text message + console.log('Status sent to Telegram.'); } else { console.log(report); }