BioLink Protector is a Telegram bot Script that automatically monitors user bios in group chats for links. If a link is found in a user's bio, the bot can warn the user, mute them, or ban them based on configurable settings. This bot helps maintain a clean and safe environment in your Telegram group chats.
- Automatically checks user bios for links when they send a message in the group.
- Configurable warnings, mutes, and bans for users with links in their bios.
- Admin-only configuration for setting punishment options.
- Interactive inline keyboard for easy configuration.
Before you begin, ensure you have met the following requirements:
- Python 3.8 &
pyrogram
To install pyrogram, run the following commands:
pip install pyrogram
-
Replace the placeholders in the script with your actual values:
api_id
andapi_hash
: Obtain these from my.telegram.org.bot_token
: Your Telegram bot token from BotFather.
git clone https://github.com/bisnuray/BioLink-Protector
cd BioLink-Protector
python3 bio.py
- Add the bot to your Telegram group and grant it necessary permissions (e.g., delete messages, restrict users).
- Use the
/config
command in the group to configure the bot's punishment settings. - The default punishment is mute after 3 warnings.
✨ Note: Fork this repo, & Star ☀️ the repo if you liked it. and Share this repo with Proper Credit
- Name: Bisnu Ray
- Telegram: @itsSmartDev
Feel free to reach out if you have any questions or feedback.