mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Enable on_startup callback
This commit is contained in:
parent
1b996c47b6
commit
a40d1703a2
1 changed files with 1 additions and 0 deletions
|
|
@ -61,6 +61,7 @@ def main():
|
|||
|
||||
main_dispatcher = Dispatcher(storage=storage)
|
||||
main_dispatcher.include_router(main_router)
|
||||
main_dispatcher.startup.register(on_startup)
|
||||
|
||||
multibot_dispatcher = Dispatcher(storage=storage)
|
||||
multibot_dispatcher.include_router(form_router)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue