Третья часть: сделаны обработчики команд

This commit is contained in:
Verum
2025-02-22 11:10:16 +07:00
parent 3dcd49a3cc
commit 3bb01751c3
20 changed files with 280 additions and 28 deletions

View File

@@ -3,6 +3,8 @@
import asyncio
from BotLibrary import *
from BotCode import router as main_router
# Запуск основного кода
async def main():
@@ -11,7 +13,11 @@ async def main():
await bot_get_info()
logger.bind(log_type="AEP", user="@Console").info(f"Начало запуска бота @{BotInfo.username}...")
# Создание пустых директорий
await setup_directories()
# Подключение главного маршрутизатора
dp.include_router(main_router)
# Нужно ли удалить веб-хук
if Permissions.delete_webhook: