mirror of
https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git
synced 2025-08-14 00:25:46 +02:00
Починка статусов в ботов3
This commit is contained in:
@@ -1 +1,11 @@
|
||||
from .bot import dp, start_bot
|
||||
from aiogram import Bot, Dispatcher
|
||||
from .config import BOT_TOKEN
|
||||
|
||||
bot = Bot(token="7677506032:AAHduD5EePz3bE23DKlo35KoOp2_9lZuS34")
|
||||
dp = Dispatcher()
|
||||
|
||||
async def start_bot():
|
||||
# Импортируем здесь, чтобы избежать циклических импортов
|
||||
from .bot import router
|
||||
dp.include_router(router)
|
||||
await dp.start_polling(bot, skip_updates=True)
|
Reference in New Issue
Block a user