Chaddi Bot is a comprehensive Telegram bot designed to enhance group chats with a variety of utilities, economy features, AI integrations, and fun mini-games.
- Music Link Converter: Automatically detects music links (Spotify, Apple Music, YouTube, etc.) and provides links for all other platforms.
/ask: Ask ChatGPT anything! (Costs ₹okda)./dalle: Generate images using DALL-E./translate: Translate any message into English.- WebM to MP4: Automatically converts WebM videos to MP4 for better compatibility.
/rokda: Check your current balance of ₹okda./daan: Transfer ₹okda to other users./gamble: Try your luck at the Chaddi Casino!
/roll: Roll the dice./quotes: Save and showcase memorable messages from your group./remind: Set reminders (e.g.,/remind 5m "Chai break")./mom: Mom jokes and insults.
- Command Restrictions: Admins can enable or disable specific commands for their group via the web dashboard.
- Built-in monitoring and metrics web UI with Grafana integration.
- Python 3.13+
- PostgreSQL
- ffmpeg
- uv (for fast Python package management)
With Docker
# Start the postgres container
$ docker-compose up -d postgres
# Build the chaddi-tg Docker image
$ docker-compose build chaddi-tg
# Run the chaddi-tg Docker image
$ docker-compose up chaddi-tg --force-recreate
# Optional: run the metrics stack
$ docker-compose up -d grafana prometheusWith Local Python
# Create a database for persistence
$ psql -c "CREATE DATABASE chaddi_tg"
# Install dependencies using uv
$ uv sync
# Run Chaddi!
$ ./run.shSetup your Telegram Bot
- Create your bot with @BotFather.
- Refer to Telegram's documentation for more help on creating bots.
- Important settings in @BotFather:
- Enable
Allow Groups. - Disable
Privacy Mode.
- Enable
Cryptography
If you get any errors related to cryptography, please refer to cryptography.io installation.
Spacy
The Spacy language model is automatically installed via the dependencies in pyproject.toml.