Toolverse
All skills

telegram-pairing-customization

by openclaw

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

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
openclaw
Category
Backend
Views
1

About this skill

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.

How to use

  1. Zlokalizuj w swoim kodzie funkcję issuePairingChallenge, która zawiera logikę obsługi kodów parowania. Poszukaj fragmentu kodu zawierającego await params.upsertPairingRequest oraz params.sendPairingReply.

  2. Znajdź linię warunkową if (!created) return { created: false } w tej funkcji i zmień ją na if (!code) return { created: false }. Ta zmiana powoduje, że bot będzie wysyłać kod parowania za każdym razem, gdy istnieje kod dostępny, niezależnie od tego, czy jest to nowe żądanie parowania.

  3. Upewnij się, że reszta funkcji pozostaje niezmieniona — wszystkie linie dotyczące buildReplyText, sendPairingReply i obsługi błędów powinny działać dokładnie tak jak wcześniej.

  4. Zapisz plik ze zmianami.

  5. Uruchom ponownie usługę OpenClaw, aby zmiany weszły w życie. Użyj komendy openclaw gateway restart w terminalu.

  6. Przetestuj funkcjonalność, wysyłając /start z konta niezatwierdzonym — powinieneś otrzymać kod parowania za każdym razem, aż do momentu zatwierdzenia konta.

Related skills

architecture-decision-records

by wshobson

Write and maintain Architecture Decision Records (ADRs) following best practices for technical decision documentation. Use when documenting significant technical decisions, reviewing past architectural choices, or establishing decision processes.

Backend
29130

stripe-integration

by wshobson

Implement Stripe payment processing for robust, PCI-compliant payment flows including checkout, subscriptions, and webhooks. Use when integrating Stripe payments, building subscription systems, or implementing secure checkout flows.

Backend
40147

youtube-transcribe-skill

by feiskyer

Extract subtitles/transcripts from a YouTube video URL and save as a local file. Use when you need to extract subtitles from a YouTube video.

Backend
24178

fastapi-pro

by sickn33

Build high-performance async APIs with FastAPI, SQLAlchemy 2.0, and Pydantic V2. Master microservices, WebSockets, and modern Python async patterns. Use PROACTIVELY for FastAPI development, async optimization, or API architecture.

Backend
54128

travel-planner

by ailabs-393

This skill should be used whenever users need help planning trips, creating travel itineraries, managing travel budgets, or seeking destination advice. On first use, collects comprehensive travel preferences including budget level, travel style, interests, and dietary

Backend
4379

postgresql-psql

by timelessco

Comprehensive guide for PostgreSQL psql - the interactive terminal client for PostgreSQL. Use when connecting to PostgreSQL databases, executing queries, managing databases/tables, configuring connection options, formatting output, writing scripts, managing transactions, and

Backend
34173