Optimized for DB/OOP update

This commit is contained in:
2022-12-14 13:58:06 +01:00
parent 9f3f29fa27
commit 4541c84eb9
4 changed files with 122 additions and 122 deletions

View File

@@ -22,8 +22,8 @@ async def welcome_pass(app, msg, once_again: bool = True) -> None:
logWrite(f"User {msg.from_user.id} confirmed starting the application")
await msg.reply_text(locale("question1", "message"), reply_markup=ForceReply(placeholder=locale("question1", "force_reply")))
configSet(["stage"], 1, file=str(msg.from_user.id))
configSet(["sent"], False, file=str(msg.from_user.id))
# configSet(["stage"], 1, file=str(msg.from_user.id))
# configSet(["sent"], False, file=str(msg.from_user.id))
@app.on_message(~ filters.scheduled & filters.private & (filters.regex(locale("welcome", "keyboard")[1][0])))
async def welcome_reject(app, msg):