command
module
Version:
v0.0.0-...-fa98813
Opens a new window with list of versions in this module.
Published: Feb 11, 2024
License: MIT
Opens a new window with license information.
Imports: 20
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶

Telegram Captcha Bot
Telegram bot that validates new users that enter supergroup. Validation works like a simple captcha. Bot written in Go (Golang).
This bot has been tested on several supergroups (1000+ people) for a long time and has shown its effectiveness against spammers.
How it works
- Add the bot to your supergroup
- Promote the bot for administrator privileges
- A new user enters your supergroup
- Bot restricts the user's ability to send messages
- Bot shows a welcome message and a captcha button to the user
- If the user doesn't press the button within 30 seconds then the user is banned by the bot
Commands
/healthz
- check that the bot is working correctly
Сustomization
You can change several bot's settings (welcome message, ban duration, socks5 proxy server) through the configuration file config.toml
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.