mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Refactor: Clean up code formatting for consistency
This commit is contained in:
parent
77dc4e7752
commit
2e185952cf
3 changed files with 2 additions and 3 deletions
|
|
@ -16,7 +16,6 @@ async def main() -> None:
|
|||
dp.include_routers(
|
||||
handlers.start.start_router,
|
||||
handlers.echo.echo_router,
|
||||
|
||||
)
|
||||
|
||||
# Initialize Bot instance with a default parse mode which will be passed to all API calls
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
from . import start
|
||||
from . import echo
|
||||
from . import echo, start
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ from aiogram.types import Message
|
|||
# For each module with handlers we can create a separate router.
|
||||
echo_router = Router()
|
||||
|
||||
|
||||
@echo_router.message()
|
||||
async def echo_handler(message: Message) -> None:
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue