forked from FOSS/ASF-Control-Bot
23 lines
380 B
Python
23 lines
380 B
Python
from aiogram.fsm.state import State, StatesGroup
|
|
|
|
|
|
class ConsoleFlow(StatesGroup):
|
|
waiting_command = State()
|
|
|
|
|
|
class RedeemFlow(StatesGroup):
|
|
waiting_all_keys = State()
|
|
waiting_bot_keys = State()
|
|
|
|
|
|
class UploadFlow(StatesGroup):
|
|
waiting_upload = State()
|
|
|
|
|
|
class AdminFlow(StatesGroup):
|
|
waiting_user_id = State()
|
|
waiting_amount = State()
|
|
|
|
|
|
twofa_tasks = {}
|