🟡 Pleno — Bot Telegram com comandos de piada, dado e hora
flowchart TD
A([Telegram]) -->|/start| B[start handler]
A -->|/piada| C[piada handler]
A -->|/dado N| D[dado handler]
A -->|/hora| E[hora handler]
A -->|desconhecido| F[fallback handler]
B & C & D & E & F --> G[reply_text]
G --> A
- Python 3.11+
- python-telegram-bot v21
pip install -r requirements.txt
cp .env.example .env # Adicione seu token
python bot.pybot-telegram-py/
├── bot.py
├── handlers.py
├── requirements.txt
└── .env.example