chore: Code refactoring

This commit is contained in:
ITQ committed 2024-03-22 00:33:15 +03:00
1 parent 71876fe7a6
commit 92c9745496
4 files changed
+25 -25

No files matched your search

+5 -5
View File
@@ -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()