new bot structure

This commit is contained in:
2025-09-25 13:22:14 +03:00
parent f043d5a0a7
commit 8c801eb66e
22 changed files with 85 additions and 47 deletions

View File

@@ -0,0 +1,12 @@
from aiogram import Router
from aiogram.filters import CommandStart
from aiogram.types import Message
from aiogram_dialog import DialogManager
from app.bot.dialogs.flows.user.start.states import StartSG
commands_router = Router(name="commands_router")
@commands_router.message(CommandStart())
async def command_start_process(message: Message, dialog_manager: DialogManager):
await dialog_manager.start(state=StartSG.start)