Разработан чат-бот

This commit is contained in:
2024-07-26 03:30:01 +03:00
commit dcf7f2b8f4
44 changed files with 2035 additions and 0 deletions

1
fsm/__init__.py Normal file
View File

@ -0,0 +1 @@
from .fsm import FSM

22
fsm/fsm.py Normal file
View File

@ -0,0 +1,22 @@
from aiogram.dispatcher.filters.state import StatesGroup, State
class FSM(StatesGroup):
start = State()
select_category = State()
select_subcategory = State()
select_date = State()
select_time_range = State()
input_email_address = State()
input_phone_number = State()
input_comment = State()
confirm_order = State()
success_sign_up = State()
select_order = State()
no_orders = State()
select_operation = State()
reschedule_order_select_date = State()
reschedule_order_select_time_range = State()
success_reschedule_order = State()
cancel_order = State()
success_cancel_order = State()