Skip to content

matheusraull99/bot-telegram-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bot Telegram

🟡 Pleno — Bot Telegram com comandos de piada, dado e hora

Diagrama

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
Loading

Tecnologias

  • Python 3.11+
  • python-telegram-bot v21

Como usar

pip install -r requirements.txt
cp .env.example .env  # Adicione seu token
python bot.py

Estrutura

bot-telegram-py/
├── bot.py
├── handlers.py
├── requirements.txt
└── .env.example

About

[Pleno] bot-telegram-py — projeto de nível pleno com Python e frameworks modernos

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages