T420 OpenClaw Telegram Bot

Community bot for @t420_community group.

Features

  • Auto-responds to common questions about T420

  • Welcomes new members

  • Posts announcements via CLI

  • Rate-limited to avoid spam

Setup

  1. Install dependencies:

cd docs/capital-raise-campaign/openclaw/bot
npm install
  1. Configure environment: Create ../.env (in the openclaw folder) with:

T420_BOT_TOKEN=8217423760:AAHSNHkkiq0kEd3hHjmbSIF7gem6AliNTJA
T420_COMMUNITY_GROUP_ID=-100xxxxxxxxx
  1. Get your group ID:

npm test
# or
node telegram-bot.js test

This will show recent chats and their IDs.

  1. Add bot as admin to @t420_community with posting permissions.

Usage

Run the bot (listening mode)

Post an announcement

Test connection

Running in Production

Using systemd

Create /etc/systemd/system/t420-telegram-bot.service:

Then:

Q&A Patterns

The bot responds to questions matching these topics:

  • What is T420?

  • How to buy tokens?

  • When listing/exchange?

  • Token utility

  • Why Solana?

  • Team info

  • Is it legit?

  • What is FleetOS?

  • Price/presale info

  • Roadmap

  • What is DePIN?

Edit telegram-bot.js to add more patterns.

Rate Limits

  • 30-second cooldown between responses to same user

  • Max 30 responses per user per hour

  • New member welcome messages batched

Last updated

Was this helpful?