/force-subscribe-telegram-bot

A Telegram bot to force members to join a specific channel before sending messages in a group.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Introduction

A Telegram Bot to force users to join a specific channel before sending messages in a group.

Todo

  • Add multiple channels support
  • Configure different groups with different channels
  • Clean messages after completion
  • LOGGER support.
  • Added Heroku Deploy

Deploy

Deploy

Installation

  • Clone this repo
git clone https://github.com/viperadnan-git/force-subscribe-telegram-bot
  • Change directory
cd force-subscribe-telegram-bot
  • Install requirements
pip3 install -r requirements.txt

Configuration

Add APP_ID, API_HASH, BOT_TOKEN in Config.py or in Environment Variables.

Deploying

  • Run bot.py
python3 bot.py

Thanks to