refactor major

This commit is contained in:
www
2020-12-02 00:04:39 +00:00
parent 58be5c779a
commit 894a99cdef
110 changed files with 20639 additions and 155 deletions

6
bot1/workflows.py Normal file
View 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