A Telegram bot designed to help manage and clean up services with admin controls and user management.
- 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
- 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)
-
Clone the repository:
git clone https://github.com/sudo-py-dev/clean-service-bot.git cd clean-service-bot -
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Configure the bot:
- Copy
.env.exampleto.env - Update the environment variables in
.env
- Copy
-
Run the bot:
python index.py
.
βββ 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
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.