A Telegram Bot to force users to join a specific channel before sending messages in a group.
- Add multiple channels support
- On Ubuntu 18.04 or later
sudo apt-get install git python3 python3-pip libpq-dev
- 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
Add APP_ID, API_HASH, BOT_TOKEN in Config.py or in Environment Variables.
- Run bot.py
python3 bot.py
- PyroGram
- Hasibul Kabir and Spechide for helping.