We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1763b9f commit 7e2669aCopy full SHA for 7e2669a
bot/__main__.py
@@ -33,11 +33,13 @@ async def main():
33
dp.update.outer_middleware(UnhandledUpdatesLoggerMiddleware())
34
35
# Register handlers
36
- dp.include_router(commands.router)
37
- dp.include_router(pm.router)
38
- dp.include_router(add_or_migrate.router)
39
- dp.include_router(inline_mode.router)
40
- dp.include_router(errors.router)
+ dp.include_routers(
+ commands.router,
+ pm.router,
+ add_or_migrate.router,
+ inline_mode.router,
41
+ errors.router
42
+ )
43
44
# Set bot commands in UI
45
await set_bot_commands(bot, dispenser)
0 commit comments