An open API service indexing awesome lists of open source software.

https://github.com/alicenine/Anti-Channel-Bot


https://github.com/alicenine/Anti-Channel-Bot

bot pyrogram telegram telegram-bot telegram-bot-api

Last synced: 11 months ago
JSON representation

Awesome Lists containing this project

README

          

# Anti-Channel-bot
A Telegram AntiChannel bot to ban users who using channel to send message in group.

### Features:
- Automatic ban
- Whitelist
- Unban
- ban

### Heroku Deploy:
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/plasticsummer/Anti-Channel-bot)

### Heroku vars
1. `API_HASH` : Get from my.telegram.org
2. `API_ID` : Get From my.telegram.org
3. `BOT_TOKEN` : Get from @BotFather
4. `DATABASE_URL` : MongoDB URI for Saving Chat Settings. Video Tutorial Here: https://www.youtube.com/watch?v=aXlF80Cn7iU

### Run on VPS:
```shell
git clone https://github.com/plasticsummer/Anti-Channel-bot
cd Anti-Channel-bot
pip3 install -r requirements.txt
# Setup Configurations in config.py file!
python3 bot.py
```

### Follow on:



#### Contact me
- [Vanilla | telegram](https://t.me/plasticsummer)

### Credits
- [Vanilla](https://github.com/plasticsummer)
- [Pyrogram](https://github.com/pyrogram/pyrogram)