This commit is contained in:
Egor Matveev
2021-11-21 23:32:12 +03:00
parent 30fab7926e
commit 8bf25ef4f0
5 changed files with 6 additions and 9 deletions

View File

@@ -40,6 +40,7 @@ def do_action(message: Message):
bot.send_message(message.chat.id, "Отлично! Теперь отправь мне свое имя")
elif user.userinfo.name is None:
user.userinfo.name = message.text
user.userinfo.verified = True
user.userinfo.save()
bot.send_message(message.chat.id, f"Регистрация завершена! Теперь можешь ты можешь войти в сервис под именем пользователя: {user.username}")
else: