first commit
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
# Aiogram imports
|
||||
from aiogram.fsm.state import State, StatesGroup
|
||||
|
||||
|
||||
class AdminStates(StatesGroup):
|
||||
|
||||
main = State()
|
||||
|
||||
|
||||
class AdminMailerStates(StatesGroup):
|
||||
|
||||
post = State()
|
||||
ikb = State()
|
||||
preview = State()
|
||||
|
||||
|
||||
class AdminManagementStates(StatesGroup):
|
||||
|
||||
main = State()
|
||||
|
||||
add_admin = State()
|
||||
del_admin = State()
|
||||
|
||||
|
||||
class AdminSettingsStates(StatesGroup):
|
||||
|
||||
main = State()
|
||||
edit_photo = State()
|
||||
|
||||
|
||||
class AdminBlacklistStates(StatesGroup):
|
||||
|
||||
main = State()
|
||||
|
||||
add_blacklist = State()
|
||||
del_blacklist = State()
|
||||
@@ -0,0 +1,20 @@
|
||||
# Aiogram imports
|
||||
from aiogram.fsm.state import State, StatesGroup
|
||||
|
||||
|
||||
class MainStates(StatesGroup):
|
||||
main = State()
|
||||
|
||||
|
||||
class AskQuestionStates(StatesGroup):
|
||||
choosing_category = State()
|
||||
waiting_question = State()
|
||||
waiting_region = State()
|
||||
processing = State()
|
||||
waiting_continue_question = State()
|
||||
|
||||
|
||||
class ProfileStates(StatesGroup):
|
||||
waiting_region = State()
|
||||
waiting_user_type = State()
|
||||
confirm_delete = State()
|
||||
Reference in New Issue
Block a user