Skip to main content

Telegram Bot Script with Flood Control Functionality

Reason this release was yanked:

not available

Project description

🕵️‍♂️ Telethon Flood Control Bot

HK4CRPRASAD

This Python script unleashes the power of Telethon to create a Telegram bot with robust flood control. 🚧 It monitors incoming messages, executes swift actions, and plays the game by its own rules.

🚀 Features

  • Flood Control: Monitors messages, strikes back when they exceed limits.
  • Muting and Blocking: Sends a silent message, plays the waiting game, and then unleashes the block hammer.
  • Non-blocking List: Certain VIPs get a free pass. 🌟

⚙️ Prerequisites

  • Python 3
  • Telethon library
  • Telegram API credentials (api_id and api_hash)

🛠️ Setup

  1. Install the required Python packages:

    pip install telethon requests
    
  2. Configure your Telegram API credentials at runtime

  3. Run the script:

    pip install pirobot
    pirobot
    

⚡ Configuration

  • Tweak the max_flood_attempts to unleash the chaos upon flooders.
  • Add user IDs to excluded_channel_ids and create your VIP list.

🎩 Author

This masterpiece was crafted by HK4CRPRASAD. Feel free to contribute or report issues.

Note: Navigate the digital realm responsibly, and be sure to decrypt the Telethon documentation before deploying this script.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pirobot-1.4.0.tar.gz (5.6 kB view hashes)

Uploaded Source

Built Distribution

pirobot-1.4.0-py3-none-any.whl (6.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page