Skip to content

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

License

Notifications You must be signed in to change notification settings

viperadnan-git/force-subscribe-telegram-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

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

Todo

  • Add multiple channels support

Deploy

Deploy

Installing Prerequisite

  • On Ubuntu 18.04 or later
sudo apt-get install git python3 python3-pip libpq-dev

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages