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
- Host: GitHub
- URL: https://github.com/alicenine/Anti-Channel-Bot
- Owner: alicenine
- License: gpl-3.0
- Created: 2021-12-30T17:07:05.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-30T17:07:23.000Z (over 4 years ago)
- Last Synced: 2024-11-29T07:36:47.715Z (over 1 year ago)
- Topics: bot, pyrogram, telegram, telegram-bot, telegram-bot-api
- Language: Python
- Homepage:
- Size: 18.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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:
[](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)