You've already forked Travel-Agent
chore: Code refactoring
This commit is contained in:
+5
-5
@@ -1,10 +1,10 @@
|
||||
__all__ = ("RegistrationForm", "UserAltering")
|
||||
__all__ = ("UserRegistration", "UserAltering")
|
||||
|
||||
from aiogram.fsm.state import State, StatesGroup
|
||||
|
||||
|
||||
class RegistrationForm(StatesGroup):
|
||||
previous_message_id = State()
|
||||
class UserRegistration(StatesGroup):
|
||||
error_message_id = State()
|
||||
username = State()
|
||||
age = State()
|
||||
bio = State()
|
||||
@@ -15,7 +15,7 @@ class RegistrationForm(StatesGroup):
|
||||
class UserAltering(StatesGroup):
|
||||
column = State()
|
||||
value = State()
|
||||
message_id = State()
|
||||
profile_message_id = State()
|
||||
input_message_id = State()
|
||||
previous_message_id = State()
|
||||
error_message_id = State()
|
||||
successfully = State()
|
||||
|
||||
Reference in New Issue
Block a user