Giter Club home page Giter Club logo

im-not-a-bot's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.