# Telegram Bot A Telegram bot for managing and tracking bounties in groups and DMs. ## Setup ```bash cd apps/telegram-bot cp .env.example .env # Edit .env and add your bot token pip install -r requirements.txt ``` ## Run ```bash python bot.py ``` ## Reminders Schedule a daily cron job: ```bash # crontab -e 0 9 * * * cd /path/to/jigaido/apps/telegram-bot && JIGAIDO_BOT_TOKEN="..." python cron.py ``` ## Commands | Command | Where | Who | Description | |---|---|---|---| | `/bounty` | Group / DM | Anyone | List all bounties | | `/my` | Group / DM | Anyone | List your tracked bounties | | `/add [link] [due>` | Group | Admin | Add bounty | | `/add [link] [due>` | DM | Anyone | Add personal bounty | | `/update [text] [link] [due>` | Group | Admin | Update bounty | | `/delete ` | Group | Admin | Delete bounty | | `/track ` | Group / DM | Anyone | Track a bounty | | `/untrack ` | Group / DM | Anyone | Stop tracking | | `/admin_add ` | Group | Creator | Promote to admin | | `/admin_remove ` | Group | Creator | Demote admin | | `/start` | Group / DM | Anyone | Re-initialize | | `/help` | Anywhere | Anyone | Show help |