bug fix
This commit is contained in:
@@ -2,10 +2,6 @@ from aiogram import Bot, Dispatcher, Router
|
||||
from aiogram.fsm.storage.memory import MemoryStorage
|
||||
|
||||
from config import API_TOKEN, FREEKASSA_ENABLE, YOOKASSA_ENABLE
|
||||
from handlers import commands, notifications, profile, start
|
||||
from handlers.admin import admin, admin_panel, user_editor
|
||||
from handlers.keys import key_management, keys
|
||||
from handlers.payment import freekassa_pay, yookassa_pay
|
||||
from middlewares.admin import AdminMiddleware
|
||||
from middlewares.logging import UserActivityMiddleware
|
||||
|
||||
@@ -14,6 +10,11 @@ storage = MemoryStorage()
|
||||
dp = Dispatcher(bot=bot, storage=storage)
|
||||
router = Router()
|
||||
|
||||
from handlers import commands, notifications, profile, start
|
||||
from handlers.admin import admin, admin_panel, user_editor
|
||||
from handlers.keys import key_management, keys
|
||||
from handlers.payment import freekassa_pay, yookassa_pay
|
||||
|
||||
|
||||
dp.include_router(admin.router)
|
||||
dp.include_router(admin_panel.router)
|
||||
|
||||
Reference in New Issue
Block a user