- Introduced a new GitHub Actions workflow for building and pushing the development Docker image. - Added inline mode handling for user interactions, allowing users to share referral links and view statistics. - Enhanced admin functionalities with new sections for user management, statistics, and promo code management. - Implemented CSV export for logs and improved notification services for various events, including new user registrations and payment notifications. - Updated localization files to support new features and commands.
20 lines
593 B
Python
20 lines
593 B
Python
from aiogram.fsm.state import State, StatesGroup
|
|
|
|
|
|
class AdminStates(StatesGroup):
|
|
|
|
waiting_for_broadcast_message = State()
|
|
confirming_broadcast = State()
|
|
waiting_for_promo_details = State()
|
|
waiting_for_promo_edit_details = State()
|
|
waiting_for_bulk_promo_details = State()
|
|
waiting_for_user_id_to_ban = State()
|
|
waiting_for_user_id_to_unban = State()
|
|
|
|
waiting_for_user_id_for_logs = State()
|
|
|
|
# User management states
|
|
waiting_for_user_search = State()
|
|
waiting_for_subscription_days_to_add = State()
|
|
waiting_for_direct_message_to_user = State()
|