{"id":"63bfd7f9-7f7c-4a7a-a20f-8089a28dfc3c","slug":"clawhub-crazypeace-telegram-pairing-send-code-to-every-start","name":"总是响应未配对用户的 /start 消息 | Always respond to /start messages from unpaired users","description":"Modify OpenClaw's Telegram pairing logic so unapproved users receive pairing codes on every /start message before approval. Use when users need to repeatedly access pairing codes after the initial request, ensuring consistent access to pairing instructions even if the initial code was missed or lost.","canonicalUrl":"https://www.xpersona.co/agent/clawhub-crazypeace-telegram-pairing-send-code-to-every-start","sourceUrl":"https://clawhub.ai/crazypeace/telegram-pairing-send-code-to-every-start","homepage":"https://clawhub.ai/crazypeace/telegram-pairing-send-code-to-every-start","source":"CLAWHUB","vendor":{"slug":"clawhub","label":"Clawhub","url":"https://clawhub.ai/crazypeace/telegram-pairing-send-code-to-every-start"},"protocols":["OPENCLEW"],"capabilities":[],"trustScore":null,"trustConfidence":"unknown","artifactCount":0,"benchmarkCount":0,"lastRelease":"1.0.0","freshnessAt":"2026-03-01T03:58:00.773Z","freshnessLabel":"Mar 1, 2026","securityReviewed":true,"openapiReady":false,"stats":[{"label":"Trust score","value":"Unknown"},{"label":"Compatibility","value":"OpenClaw"},{"label":"Freshness","value":"Mar 1, 2026"},{"label":"Vendor","value":"Clawhub"},{"label":"Artifacts","value":"0"},{"label":"Benchmarks","value":"0"},{"label":"Last release","value":"1.0.0"}],"factsPreview":[{"factKey":"vendor","category":"vendor","label":"Vendor","value":"Clawhub","href":"https://clawhub.ai/crazypeace/telegram-pairing-send-code-to-every-start","sourceUrl":"https://clawhub.ai/crazypeace/telegram-pairing-send-code-to-every-start","sourceType":"profile","confidence":"medium","observedAt":"2026-04-15T00:45:39.800Z","isPublic":true},{"factKey":"protocols","category":"compatibility","label":"Protocol compatibility","value":"OpenClaw","href":"https://www.xpersona.co/api/v1/agents/clawhub-crazypeace-telegram-pairing-send-code-to-every-start/contract","sourceUrl":"https://www.xpersona.co/api/v1/agents/clawhub-crazypeace-telegram-pairing-send-code-to-every-start/contract","sourceType":"contract","confidence":"medium","observedAt":"2026-04-15T00:45:39.800Z","isPublic":true},{"factKey":"traction","category":"adoption","label":"Adoption signal","value":"616 downloads","href":"https://clawhub.ai/crazypeace/telegram-pairing-send-code-to-every-start","sourceUrl":"https://clawhub.ai/crazypeace/telegram-pairing-send-code-to-every-start","sourceType":"profile","confidence":"medium","observedAt":"2026-04-15T00:45:39.800Z","isPublic":true},{"factKey":"latest_release","category":"release","label":"Latest release","value":"1.0.0","href":"https://clawhub.ai/crazypeace/telegram-pairing-send-code-to-every-start","sourceUrl":"https://clawhub.ai/crazypeace/telegram-pairing-send-code-to-every-start","sourceType":"release","confidence":"medium","observedAt":"2026-02-08T16:49:20.564Z","isPublic":true},{"factKey":"handshake_status","category":"security","label":"Handshake status","value":"UNKNOWN","href":"https://www.xpersona.co/api/v1/agents/clawhub-crazypeace-telegram-pairing-send-code-to-every-start/trust","sourceUrl":"https://www.xpersona.co/api/v1/agents/clawhub-crazypeace-telegram-pairing-send-code-to-every-start/trust","sourceType":"trust","confidence":"medium","observedAt":null,"isPublic":true}],"highlights":["616 downloads","Trust evidence available"],"agentCard":{"name":"总是响应未配对用户的 /start 消息 | Always respond to /start messages from unpaired users","description":"Modify OpenClaw's Telegram pairing logic so unapproved users receive pairing codes on every /start message before approval. Use when users need to repeatedly access pairing codes after the initial request, ensuring consistent access to pairing instructions even if the initial code was missed or lost.","source":"CLAWHUB","sourceId":"clawhub:kn769hxajq747rnm1pyf9zmtns80cn81:telegram-pairing-send-code-to-every-start","homepage":"https://clawhub.ai/crazypeace/telegram-pairing-send-code-to-every-start","repository":"https://clawhub.ai/crazypeace/telegram-pairing-send-code-to-every-start","documentation":"https://www.xpersona.co/agent/clawhub-crazypeace-telegram-pairing-send-code-to-every-start","protocols":["OPENCLEW"],"examples":[{"kind":"example","language":"text","snippet":"if (created) {\n  logger.info({\n    chatId: candidate,\n    username: from?.username,\n    firstName: from?.first_name,\n    lastName: from?.last_name,\n    matchKey: allowMatch.matchKey ?? \"none\",\n    matchSource: allowMatch.matchSource ?? \"none\"\n  }, \"telegram pairing request\");\n  await withTelegramApiErrorLogging({\n    operation: \"sendMessage\",\n    fn: () => bot.api.sendMessage(chatId, [\n      \"OpenClaw: access not configured.\",\n      \"\",\n      `Your Telegram user id: ${telegramUserId}`,\n      \"\",\n      `Pairing code: ${code}`,\n      \"\",\n      \"Ask the bot owner to approve with:\",\n      formatCliCommand(\"openclaw pairing approve telegram <code>\")\n    ].join(\"\\n\"))\n  });\n}"},{"kind":"example","language":"text","snippet":"if (do) { // <-- 关键修改点\n  logger.info({\n    chatId: candidate,\n    username: from?.username,\n    firstName: from?.first_name,\n    lastName: from?.last_name,\n    matchKey: allowMatch.matchKey ?? \"none\",\n    matchSource: allowMatch.matchSource ?? \"none\"\n  }, \"telegram pairing request\");\n  await withTelegramApiErrorLogging({\n    operation: \"sendMessage\",\n    fn: () => bot.api.sendMessage(chatId, [\n      \"OpenClaw: access not configured.\",\n      \"\",\n      `Your Telegram user id: ${telegramUserId}`,\n      \"\",\n      `Pairing code: ${code}`,\n      \"\",\n      \"Ask the bot owner to approve with:\",\n      formatCliCommand(\"openclaw pairing approve telegram <code>\")\n    ].join(\"\\n\"))\n  });\n}"}]}}