"reapply_restarted" message added

This commit is contained in:
2022-12-06 10:42:45 +01:00
parent 65f6b4e30e
commit 27e63111e5
2 changed files with 3 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
from os import sep
from time import time
from app import app
from pyrogram.types import InlineKeyboardMarkup, InlineKeyboardButton
from pyrogram.types import InlineKeyboardMarkup, InlineKeyboardButton, ReplyKeyboardRemove
from pyrogram import filters
from modules.utils import configGet, configSet, jsonLoad, jsonSave, locale, logWrite
from modules.handlers.confirmation import confirm_yes
@@ -123,5 +123,5 @@ async def callback_query_reapply_stop(app, clb):
message = await app.get_messages(clb.from_user.id, int(fullclb[2]))
await welcome_pass(app, message, once_again=True)
logWrite(f"User {clb.from_user.id} restarted the application due to typo in it")
await clb.message.edit(clb.message.text, reply_markup=None)
await clb.message.edit(locale("reapply_restarted", "message"), reply_markup=ReplyKeyboardRemove())
# ==============================================================================================================================