1.1.6 Улучшен валидатор username и добавлен валидатор нормального вида слов

This commit is contained in:
Verum
2025-02-25 16:59:25 +07:00
parent c2ba5b147d
commit a1f7647ba8
3 changed files with 7 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
# BotLibrary/validators/normal_word.py
# Нормализирует вид слова автоматически
async def normal_words(word : str = "Тестовое слово") -> str:
return word.lower().capitalize()