https://github.com/piterden/captcha_only_bot
Configurable per group captcha bot for the Telegram messenger.
https://github.com/piterden/captcha_only_bot
admin antispam bot captcha telegram user-friendly
Last synced: 3 months ago
JSON representation
Configurable per group captcha bot for the Telegram messenger.
- Host: GitHub
- URL: https://github.com/piterden/captcha_only_bot
- Owner: Piterden
- Created: 2019-10-11T02:57:19.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-11-27T20:37:10.000Z (over 4 years ago)
- Last Synced: 2025-10-19T22:39:34.195Z (8 months ago)
- Topics: admin, antispam, bot, captcha, telegram, user-friendly
- Language: JavaScript
- Homepage: https://t.me/captcha_only_bot
- Size: 153 KB
- Stars: 15
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Captcha Only Bot



Captcha admin bot.
> **!!! Bot requires admin rights and looses its sense either!**
## Overview
Each newcomer to a chat will be instantly restricted to do anything in a chat, until he choose a correct answer to a question. A question and an answer options may be edited. Options are placed on inline keyboard buttons.
## Commands
- **`/settings`** - _Works only in groups and only for admins!!!_ Shows the settings overview and editor.

### Settings command
| Parameter | Type | Default |
| ----------------- | ------ | ------- |
| Captcha timeout | `Number` | 300 |
| Parameter | Type | Default |
| ----------------- | ------ | ------- |
| Time to unban | `Number` | 40 |
| Parameter | Type | Default |
| ----------------- | ------ | ------------------------------------------------------------ |
| Greetings message | `String` | Hello, {name}. You should answer a question to enter a chat. |
| Parameter | Type | Default |
| ----------------- | ------ | -------------------------- |
| Question message | `String` | *What is this chat about?* |
| Parameter | Type | Default |
| ----------------- | ------ | ---------------- |
| Success message | `String` | Welcome, {name}! |
| Parameter | Type | Default |
| ----------------- | ------ | ----------------------- |
| Wrong user toast | `String` | Not for you, asshole!!! |
| Parameter | Type | Default |
| ----------------- | ------ | --------------------------- |
| Success toast | `String` | Correct! Welcome to a chat! |
| Parameter | Type | Default |
| ----------------- | ------ | ---------------------------------------------------------------------- |
| Failed toast | `String` | No! Read a chat description and try one more time after a few minutes! |
| Parameter | Type | Default |
| ----------------- | ------ | --------------------- |
| Answers list | `Array` | MySQL\nKitties\nAnime |
