Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.
/ im-not-a-bot Public archive

a captcha for everyone that joins a telegram group

License

Notifications You must be signed in to change notification settings

NicKoehler/im-not-a-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

im-not-a-bot Logo

Sections

Introduction

I'm a python beginner, so please don't be mad at my code 😂

I'M SORRY FOR MY ENGLISH ON THIS PROJECT, I'M ITALIAN AND I CAN'T WRITE ENGLISH PERFECTLY. IF YOU FIND TYPOS, OR ANYTHING ELSE YOU CAN CONTACT ME.

This bot it's just a simple implementation of a captcha for everyone that joins a telegram group.

Tested only with python 3.7

im-not-a-bot Logo

Installing

Install im-not-a-bot cloning this repo:

$ git clone https://github.com/NicKoehler/im-not-a-bot

Then install the requirements:

$ cd im-not-a-bot
$ pip install -r requirements.txt

Configure

The first thing you need to do it's create a telegram bot using the BotFather and get the bot token.

To configure the bot just open the config.yml file and insert your token (without double quotes or single quotes).

token: your token here

optional:

Changing the text in the bot.

example:

notbot_text: Ok {}, you're not a bot.

Where you see the curly bracket, the name of the person that joins the group it will be inserted.

Starting

Start the bot with:

$ python bot.py

Now you can add your bot to a supergroup and make it administrator.

Done, now when someone joins the group they will be restricted and prompted to press the button to confirm that they are not a bot.

About

a captcha for everyone that joins a telegram group

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages