Добавлена начальная база данных

This commit is contained in:
Vlad
2024-09-13 03:39:21 +03:00
parent b53a1a4cea
commit 56dd62fdf9
5 changed files with 63 additions and 48 deletions
+2
View File
@@ -1,7 +1,9 @@
import asyncio
from bot import dp, router, bot
from database import init_db
async def main():
await init_db()
dp.include_router(router) # Подключение роутера
await dp.start_polling(bot) # Запуск поллинга