GitHunt
BI

bisnuray/BioLink-Protector

BioLink Protector, a Telegram bot Script, automatically monitors group chat user bios for links. It can warn, mute, or ban users with links in their bios, helping maintain a clean, safe chat environment.

BioLink Protector Telegram Bot

GitHub Repo stars GitHub issues GitHub pull requests GitHub contributors GitHub forks

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.


Features

  • 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.
  • Whitelist & Unwhitelist trusted members
  • Cancel Warning reset a user’s warnings
  • Admin-only controls with interactive inline keyboards

🎮 Demo Bot

Try it live: @BioLinkProBot

Requirements

Before you begin, ensure you have met the following requirements:

  • Python 3.8 or higher

Installation

git clone https://github.com/bisnuray/BioLink-Protector
cd BioLink-Protector
pip install -r requirements.txt

Configuration

  1. Open the config.py file in your favorite text editor.
  2. Replace the placeholders for API_ID, API_HASH, BOT_TOKEN, and MONGO_URI with your actual values:

Deploy the Bot

python bio.py

Usage

  1. Add the bot to your group.
  2. Grant the bot Admin rights (delete & restrict).
  3. In-chat commands (admins only):
    • /config → choose “Warn”, “Mute”, or “Ban” and set warn count
    • /free [reply|id] → whitelist a user
    • /unfree [reply|id] → remove from whitelist
    • /freelist → view all whitelisted users
  4. Auto-scan: When a non-whitelisted user posts, their bio is checked—warn/mute/ban applies.

Note: Fork this repo, & Star ☀️ the repo if you liked it. and Share this repo with Proper Credit

Author

Feel free to reach out if you have any questions or feedback.

Languages

Python100.0%

Contributors

Created June 12, 2024
Updated March 7, 2026