mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Prettify disclaimer
This commit is contained in:
parent
eb7a9f5cc8
commit
1098ac547b
1 changed files with 4 additions and 1 deletions
|
|
@ -32,7 +32,8 @@ Changelog
|
|||
dp = Dispatcher()
|
||||
|
||||
def main():
|
||||
dp.run_polling()
|
||||
...
|
||||
dp.run_polling(...)
|
||||
|
||||
main()
|
||||
|
||||
|
|
@ -45,6 +46,8 @@ Changelog
|
|||
async def main():
|
||||
dp = Dispatcher()
|
||||
dp.include_router(router)
|
||||
...
|
||||
dp.start_polling(...)
|
||||
|
||||
asyncio.run(main())
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue