Полная реструктуризация. Тексты все в texts.py
This commit is contained in:
@@ -8,8 +8,10 @@ storage = MemoryStorage()
|
||||
dp = Dispatcher(bot=bot, storage=storage)
|
||||
router = Router()
|
||||
|
||||
from handlers import (backup_handler, key_management, keys, notifications, pay,
|
||||
profile, start, admin, commands)
|
||||
from handlers.admin import admin
|
||||
from handlers.keys import key_management, keys
|
||||
from handlers import (notifications, pay,
|
||||
profile, start, commands)
|
||||
|
||||
dp.include_router(commands.router)
|
||||
dp.include_router(start.router)
|
||||
@@ -18,5 +20,4 @@ dp.include_router(keys.router)
|
||||
dp.include_router(key_management.router)
|
||||
dp.include_router(pay.router)
|
||||
dp.include_router(notifications.router)
|
||||
dp.include_router(backup_handler.router)
|
||||
dp.include_router(admin.router)
|
||||
Reference in New Issue
Block a user