A training project within the course on the development of Telegram bots. Contains simple structured Telegram echo-bot.
- Clone the repository:
git clone https://github.com/jiptwo553900/structured-echo-bot.git
- Rename
.env.example
:mv .env.example .env
- In
.env
editBOT_TOKEN=<put your Telegram bot token here>
- Start
bot.py
made with my micro-project: folder-tree-printer
├── 📁 structured-echo-bot
│ ├── 📄 .env # API token here
│ ├── 📄 .gitignore
│ ├── 📄 bot.py
│ ├── 📁 config_data # classes and config load
│ │ ├── 📄 config.py
│ │ └── 📄 __init__.py
│ ├── 📁 handlers # handlers
│ │ ├── 📄 other_handlers.py
│ │ ├── 📄 user_handlers.py # /start & /help handlers
│ │ └── 📄 __init__.py
│ ├── 📁 lexicon
│ │ ├── 📄 lexicon.py # bot answers
│ │ └── 📄 __init__.py
│ ├── 📄 README.md
│ └── 📄 requirements.txt