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