29 lines
770 B
Python
29 lines
770 B
Python
from aiogram.fsm.state import State, StatesGroup
|
|
|
|
|
|
class UserEditorState(StatesGroup):
|
|
waiting_for_user_data = State()
|
|
waiting_for_key_name = State()
|
|
waiting_for_balance = State()
|
|
waiting_for_expiry_time = State()
|
|
waiting_for_message_text = State()
|
|
preview_message = State()
|
|
selecting_cluster = State()
|
|
selecting_duration = State()
|
|
selecting_country = State()
|
|
config_menu = State()
|
|
config_select_base = State()
|
|
config_input_addon = State()
|
|
confirm_delete_key = State()
|
|
|
|
|
|
class RenewTariffState(StatesGroup):
|
|
selecting_group = State()
|
|
selecting_tariff = State()
|
|
|
|
|
|
class BanUserStates(StatesGroup):
|
|
waiting_for_reason = State()
|
|
waiting_for_ban_duration = State()
|
|
waiting_for_forever_reason = State()
|