कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

telegram-pairing-send-code-to-every-start

crazypeace द्वारा

Coding Agents & IDEs
857clawskills.sh द्वारा बताए गए डाउनलोड
1व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Modify OpenClaw's Telegram pairing logic so unapproved users receive pairing codes on every /start message.

विवरण

यह स्किल क्या करती है

Modifies OpenClaw's internal pairing logic so unapproved Telegram users receive their pairing code on every /start message, not just the first. The change is a one-line edit in the issuePairingChallenge function, replacing a creation check with a code existence check. Requires restarting the OpenClaw gateway after the edit.

Instead of building a separate code-resend command, this repurposes the existing /start flow so users always have a self-service way to retrieve their code.

इसे कब इस्तेमाल करें

  • User missed the initial pairing code and needs it resent
  • Onboarding users who repeatedly send /start before completing setup
  • Debugging pairing flows where the first message was dropped
  • Support scenarios where users need to confirm their pairing code
  • Environments where Telegram message delivery is unreliable

उदाहरण वर्कफ़्लो

इनपुट

User asks: make unapproved Telegram users see their pairing code every time they send /start

एजेंट
  1. 1

    Search /usr/lib/node_modules/openclaw/ for the issuePairingChallenge function

  2. 2

    Locate the line containing if (!created) return { created: false }

  3. 3

    Replace that line with if (!code) return { created: false }

  4. 4

    Back up the original file before saving changes

  5. 5

    Run openclaw gateway restart to apply the modification

आउटपुट

Unapproved users now receive their pairing code on every /start message until they are approved

इंस्टॉलेशन

clawhub install crazypeace/telegram-pairing-send-code-to-every-start

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक