Skip to content

Latest commit

Β 

History

History
69 lines (51 loc) Β· 1.86 KB

File metadata and controls

69 lines (51 loc) Β· 1.86 KB

🧹 Service Cleaner Bot

A Telegram bot designed to help manage and clean up services with admin controls and user management.

✨ Features

  • Service Management - Add, remove, and list services
  • Admin Controls - Manage users and permissions
  • Multi-language Support - Built-in support for multiple languages
  • Database Integration - SQLAlchemy ORM with SQLite
  • Logging - Comprehensive logging system

πŸš€ Getting Started

Prerequisites

  • Python 3.8+
  • Telegram Bot Token from @BotFather
  • API ID and API Hash from Telegram
  • Required Python packages (install via pip install -r requirements.txt)

Installation

  1. Clone the repository:

    git clone https://github.com/sudo-py-dev/clean-service-bot.git
    cd clean-service-bot
  2. Create and activate a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
  3. Install dependencies:

    pip install -r requirements.txt
  4. Configure the bot:

    • Copy .env.example to .env
    • Update the environment variables in .env
  5. Run the bot:

    python index.py

πŸ“‚ Project Structure

.
β”œβ”€β”€ bot_management/      # Bot management utilities (Bot manager)
β”œβ”€β”€ handlers/           # Message and callback handlers
β”œβ”€β”€ locales/            # Language files
β”œβ”€β”€ tools/              # Utility functions and helpers
β”œβ”€β”€ .env.example        # Example environment variables
β”œβ”€β”€ index.py            # Main application entry point
└── requirements.txt    # Python dependencies

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.