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

Subu18/force-subscribe-telegram-bot-1

 
 

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
  • Configure different groups with different channels
  • Clean messages after completion
  • LOGGER support.

Deploy

Installation

  • Clone this repo
git clone https://github.com/tldr-cell/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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 88.2%
  • Dockerfile 11.8%