Refactor bot handlers and keyboards; implement admin features
- Removed unused prehandling, referrals, support, and states files. - Updated admin and client handlers to improve structure and functionality. - Introduced admin filters and routers for better access control. - Added new billing and deposit functionalities for client interactions. - Enhanced keyboard layouts for admin and client menus. - Implemented promotion handling for admin users. - Updated configuration to include admin settings. - Improved utility functions for quote fetching and menu text building. - Added common handlers for undefined commands and message deletions.
This commit is contained in:
@@ -29,6 +29,7 @@ services:
|
||||
environment:
|
||||
TZ: UTC
|
||||
BOT_TOKEN: ${BOT_TOKEN}
|
||||
ADMINS: ${ADMINS}
|
||||
POSTGRES_URL: postgresql+asyncpg://${POSTGRES_USER:-malenia}:${POSTGRES_PASSWORD:-malenia_password}@postgres:5432/${POSTGRES_DB:-malenia_db}
|
||||
PROXY: ${PROXY:-}
|
||||
REMNAWAVE_URL: ${REMNAWAVE_URL}
|
||||
@@ -53,6 +54,7 @@ services:
|
||||
environment:
|
||||
TZ: UTC
|
||||
BOT_TOKEN: ${BOT_TOKEN}
|
||||
ADMINS: ${ADMINS}
|
||||
POSTGRES_URL: postgresql+asyncpg://${POSTGRES_USER:-malenia}:${POSTGRES_PASSWORD:-malenia_password}@postgres:5432/${POSTGRES_DB:-malenia_db}
|
||||
PROXY: ${PROXY:-}
|
||||
REMNAWAVE_URL: ${REMNAWAVE_URL}
|
||||
|
||||
Reference in New Issue
Block a user