create event

This commit is contained in:
2025-10-03 14:09:43 +03:00
parent 2056558ea8
commit 7734adda8b
18 changed files with 399 additions and 88 deletions

View File

@@ -16,7 +16,7 @@ def name_type_factory(text: str):
def phone_type_factory(text: str):
if len(re.findall("\d", text)) < 11:
raise ValueError("Телефон должен быть в формате \+79991112233")
raise ValueError("Телефон должен быть в формате +79991112233")
return text
async def on_error(