Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/v1a0/aiogram-bot-template
Template repo with prepared structure for aiogram projects
https://github.com/v1a0/aiogram-bot-template
Last synced: 29 days ago
JSON representation
Template repo with prepared structure for aiogram projects
- Host: GitHub
- URL: https://github.com/v1a0/aiogram-bot-template
- Owner: v1a0
- License: gpl-3.0
- Created: 2021-06-19T08:17:53.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-06T02:22:18.000Z (about 3 years ago)
- Last Synced: 2023-03-04T14:02:47.652Z (almost 2 years ago)
- Language: Python
- Homepage:
- Size: 15.6 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Template structure
```shell
aiogram-bot-template
| .gitattributes
| .gitignore
| autorun.py # infinite loop run bot.py (restart if bot fail)
| bot.py # main file, dp.executor.start_polling, from handlers import *
| branches.py # State's init as branches
| LICENSE # just license
| messages.py # Dict with text messages MSG['hello']
| misc.py # Bot init, Dispatcher init
| settings.py # API_TOKEN, ADMIN_ID, BAN_LIST, DB_PATH, logger settings
|
\---handlers # dp.handlers
| start.py # template handler for /start and /indo
| text_message.py # template handlers for TEXT-messages
```