Skip to content

When a new user enters the chat room, this bot determines whether it is a human or not, and if it is a bot, it is forcibly removed. Until you solve the problem, you will not be able to see all data such as chat and media in the chat room.

License

Notifications You must be signed in to change notification settings

croc100/captcha-telegram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Simple Telegram Bot - Questioning and Chat Initiation

This project is a simple Telegram bot that presents a question in a chatroom and grants users the ability to start chatting after answering the question correctly.

Installation and Execution

  1. Install the python-telegram-bot library.
pip install python-telegram-bot
  1. Download the source code and provide your Telegram bot token.
# Please enter your Telegram bot token.
TOKEN = "YOUR_TELEGRAM_BOT_TOKEN"
  1. Run the code.
python your_bot_script.py

Functionality

  1. When the bot joins a chatroom, it randomly presents a question to the users.
  2. Upon answering the question correctly, users will see a button to initiate chatting.
  3. Users can click the button to begin chatting and engage with all participants freely.

User Guide

  1. Add the bot to your Telegram chatroom.
  2. Once the bot joins the chatroom, it will randomly present a question.
  3. Users can respond with their answer via chat.
  4. If the answer is correct, a "Start Chatting" button will appear.
  5. Click the "Start Chatting" button to initiate chatting.

Note

  • While the bot is presenting a question, other users' chat messages will not be visible.
  • In case of an incorrect answer, the bot will present a new question.

License

This project is licensed under the MIT License. For more details, please see the LICENSE file.

About

When a new user enters the chat room, this bot determines whether it is a human or not, and if it is a bot, it is forcibly removed. Until you solve the problem, you will not be able to see all data such as chat and media in the chat room.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages