add user_hello dialog

This commit is contained in:
2025-09-23 14:19:50 +03:00
parent 656c8ac2c4
commit f043d5a0a7
8 changed files with 82 additions and 4 deletions

View File

@@ -0,0 +1,24 @@
import asyncio
from aiogram import Bot, Dispatcher
from aiogram_dialog import setup_dialogs
from bestconfig import Config
from app.dialogs import dialogs_router
from app.handlers import handlers_router
cfg = Config()
bot = Bot(token=cfg.get("bot_token"))
dp = Dispatcher()
async def main():
dp.include_router(handlers_router)
dp.include_router(dialogs_router)
setup_dialogs(dp)
await dp.start_polling(bot)
if __name__ == "__main__":
asyncio.run(main())