https://github.com/arustinal/aiogram_declarative
Another way to struct your telegram bots via Aiogram3
https://github.com/arustinal/aiogram_declarative
Last synced: 6 months ago
JSON representation
Another way to struct your telegram bots via Aiogram3
- Host: GitHub
- URL: https://github.com/arustinal/aiogram_declarative
- Owner: Arustinal
- License: mit
- Created: 2022-04-26T18:49:22.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-03T09:56:35.000Z (almost 4 years ago)
- Last Synced: 2025-12-22T01:27:57.394Z (6 months ago)
- Language: Python
- Size: 18.6 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
If you tired of watching this:
```python
import ...
def setup_routers() -> Router:
from . import unsupported_reply, admin_no_reply, bans, adminmode, message_edit, usermode
router = Router()
1 router.include_router(unsupported_reply.router)
2 router.include_router(bans.router)
3 router.include_router(admin_no_reply.router)
4 router.include_router(adminmode.router)
5 router.include_router(message_edit.router)
6 router.include_router(usermode.router)
...
return router
```
you found the way to fix it.
Check "docs" folder for more information