https://github.com/eduzen/bot
  
  
    python telegram bot 
    https://github.com/eduzen/bot
  
bot peewee python python-telegram-bot requests telegram
        Last synced: 7 months ago 
        JSON representation
    
python telegram bot
- Host: GitHub
- URL: https://github.com/eduzen/bot
- Owner: eduzen
- Created: 2018-02-24T22:17:53.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-04-11T05:22:38.000Z (7 months ago)
- Last Synced: 2025-04-13T23:55:25.006Z (7 months ago)
- Topics: bot, peewee, python, python-telegram-bot, requests, telegram
- Language: Python
- Homepage: https://eduzen.com.ar
- Size: 914 KB
- Stars: 8
- Watchers: 0
- Forks: 7
- Open Issues: 1
- 
            Metadata Files:
            - Readme: README.md
 
Awesome Lists containing this project
README
          *# Just another telegram-bot
```bash
  cargo install just
  just run
```
### Code style
For linting, code style and etcetera, we use [pre-commit](https://pre-commit.com/)
```bash
pre-commit install
pre-commit run --all-files
```
### Docker
for production `docker-compose.yaml`
```yaml
services:
  bot:
    image: index.docker.io/eduzen/bot:latest
    restart: always
    env_file:
      - .env
    volumes:
      - ./db.sqlite3:/code/db.sqlite3
  watchtower:
    image: index.docker.io/containrrr/watchtower
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - /home/eduzen/.docker/config.json:/config.json:ro
    command: --interval 30 --cleanup
```
*