Refactoring admin

This commit is contained in:
Zakhar Izmaylov
2024-11-12 07:51:54 +03:00
parent 2e9eb4a627
commit a4ca53eda9
5 changed files with 163 additions and 208 deletions
+3 -3
View File
@@ -10,13 +10,13 @@ dp = Dispatcher(bot=bot, storage=storage)
router = Router()
from handlers import commands, notifications, pay, profile, start
from handlers.admin import admin, admin_panel, user_editor
from handlers.admin import admin_commands, admin_panel, admin_user_editor
from handlers.keys import key_management, keys
from handlers.payments import cryprobot_pay, freekassa_pay, stars_pay, yookassa_pay
dp.include_router(admin.router)
dp.include_router(admin_commands.router)
dp.include_router(admin_panel.router)
dp.include_router(user_editor.router)
dp.include_router(admin_user_editor.router)
dp.include_router(commands.router)
dp.include_router(start.router)
dp.include_router(profile.router)