Archived
feat(bot): add async DB and FSM state handling
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
from aiogram.fsm.state import State, StatesGroup
|
||||
|
||||
|
||||
class ConsoleFlow(StatesGroup):
|
||||
waiting_command = State()
|
||||
|
||||
|
||||
class RedeemFlow(StatesGroup):
|
||||
waiting_all_keys = State()
|
||||
waiting_bot_keys = State()
|
||||
|
||||
|
||||
twofa_tasks = {}
|
||||
Reference in New Issue
Block a user