Templates

Starter bot templates

Small, reviewed starter projects you can download, verify with SHA-256 and deploy.

Every template ships with a README in English and Spanish, .env.example, a Dockerfile, unit tests that pass without network access and an MIT license. The ZIPs are generated when the site is built and publish their SHA-256 checksum so you can verify the download.

Telegram

Telegram bot (Node.js, grammY)

Commands, a per-chat throttle, long polling for development and a webhook mode with secret-token verification and /healthz.

Node.js 20+, grammY 1.x · 7.0 KB

Telegram

Telegram bot (Python, aiogram 3)

Routers, typed handlers, polling or an aiohttp webhook server with secret-token verification and /healthz.

Python 3.10+, aiogram 3.x · 6.6 KB

Discord

Discord bot (Node.js, discord.js 14)

Slash commands with a registration script, Guilds intent only, ephemeral replies and mentions disabled in echoed text.

Node.js 20+, discord.js 14 · 6.2 KB

Discord

Discord bot (Python, discord.py 2)

App commands with a CommandTree, default intents only, guild sync for fast iteration and mentions disabled.

Python 3.10+, discord.py 2.x · 5.0 KB

WhatsApp

WhatsApp Cloud API webhook (Node.js)

Verification handshake, X-Hub-Signature-256 validation, acknowledge-first handling, deduplication and text or button replies.

Node.js 20+, no dependencies · 7.0 KB

WhatsApp

WhatsApp Cloud API webhook (Python, FastAPI)

FastAPI webhook with signature validation, background replies after the 200 response, deduplication and /healthz.

Python 3.10+, FastAPI, httpx · 6.9 KB

Slack

Slack app (Node.js, Bolt)

Slash command, threaded replies to mentions and an App Home tab, in Socket Mode or HTTP mode with signature verification.

Node.js 20+, @slack/bolt 4 · 5.2 KB

Telegram

Telegram webhook bot on Cloudflare Workers

Serverless webhook with constant-time secret-token check, replies in the webhook response and a protected /setup route.

Cloudflare Workers, no runtime dependencies · 5.6 KB

Verify a download

sha256sum -c telegram-grammy.zip.sha256   # Linux
shasum -a 256 telegram-grammy.zip         # macOS
Get-FileHash telegram-grammy.zip          # Windows PowerShell