|
|
|
@ -67,7 +67,7 @@ def reg(message):
|
|
|
|
|
var.steps[message.chat.id]=None
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def passwd(message):
|
|
|
|
|
def passs(message):
|
|
|
|
|
read()
|
|
|
|
|
id=str(message.chat.id)
|
|
|
|
|
|
|
|
|
@ -100,6 +100,7 @@ def passwd(message):
|
|
|
|
|
if mon == None:
|
|
|
|
|
var.db[var.anick[message.chat.id]]=0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
today = date.today()
|
|
|
|
|
dttm = today.strftime("%d.%m.%Y_"+time.strftime("%H:%M", time.localtime()))
|
|
|
|
|
|
|
|
|
@ -110,7 +111,7 @@ def passwd(message):
|
|
|
|
|
f.write(sign+"-"+dttm+"\n")
|
|
|
|
|
f.close()
|
|
|
|
|
|
|
|
|
|
bot.reply_to(message,"Поздравляю, Вы успешно зарегестрировались.")
|
|
|
|
|
bot.reply_to(message,"Поздравляю, Вы успешно зарегистрировались.")
|
|
|
|
|
bot.reply_to(message,f"""
|
|
|
|
|
Ваш ключ восстановления пароля - {sign}
|
|
|
|
|
#REG
|
|
|
|
|