A Telegram bot for music and audio management, built with Python and Pyrogram.
- Python 3.11 or higher
- Docker
- MongoDB instance
- Telegram Bot Token
- Spotify API credentials
Create a .env
file based on .example.env
- Clone the repository:
git clone https://github.com/sophic00/TeleTuneBot.git
cd TeleTuneBot
- Create and configure your
.env
file:
cp .example.env .env
# Edit .env with your credentials
- Build and run with Docker:
docker build -t teletunebot .
docker run --name bot teletunebot
- Create a virtual environment:
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Run the bot:
python -m teletunebot
The project uses:
uv
for dependency management- Docker for containerization
- MongoDB for data storage
- Pyrogram for Telegram integration
teletunebot/
├── helper/ # Helper functions and utilities
├── plugins/ # Bot command plugins
├── config.py # Configuration settings
├── __init__.py # Package initialization
└── __main__.py # Entry point