This is a structure for bot development with aiogram which I personally use. Indeed, I made this to speed up the development process of my own bots, do wtf you want with it <3
- SQLAlchemy (for database)
- Redis (for cache)
- APScheduler (for jobs)
- Context (separate file for texts, multi-language support)
There's user model, example jobs and handlers for user registration already implemented in this repository that you can check and run. so don't forget to delete them when you start your project.
clone the repository, install requirements, create config file and execute ./bot.py --help
.
Asciinema below shows the full installation and running of the project