refactor major
This commit is contained in:
6
bot1/workflows.py
Normal file
6
bot1/workflows.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from .states import TelegramWorkflow
|
||||
from statemachine import StateMachine, State
|
||||
|
||||
class AuthWorkflow(TelegramWorkflow):
|
||||
init =State('init', initial=True) # Initialize the workflow
|
||||
finished = State('finished') # Workflow has ended
|
||||
Reference in New Issue
Block a user