GithubHelp home page GithubHelp logo

yeudaby / thereasonbot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from robottrick/thereasonbot

0.0 0.0 0.0 12 KB

Telegram bot that saves a blocking reason when kicking a user from the group

Home Page: https://t.me/TheReasonBot

Python 100.00%

thereasonbot's Introduction

The Reason Bot

Telegram bot that saves a blocking reason when kicking a user from the group

Every group admin occasionally encounters a user seeking to release his block from the group, but in the vast majority of cases, and especially in large groups with multiple admins, there is no way to remember the reason for the block. The following bot will solve this problem for you!

You can check our bot here (in Hebrew).

configuration:

  • Clone this reposetory:
git clone https://github.com/RobotTrick/TheReasonBot.git
  • Install requirements:
pip3 install -r requirements.txt
  • Edit and insert the folowing values into the config file:
[pyrogram]
api_id = XXXXXXXXXXX
api_hash = XXXXXXXXXXXXXXXXXXXXXXXXXX
bot_token = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

The api_id & api_hash You can get from my.telegram.org. bot_token you can get by create new bot on BotFather.

  • Edit bot strings:

You can change, if you like, the bot strings: start and help messages, buttons and more by editing the Msg.py file.

  • Run the bot:
python3 main.py

Created with ❤️ by David Lev & Yehuda By

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.