"reapply_restarted" message added
This commit is contained in:
@@ -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())
|
||||
# ==============================================================================================================================
|
Reference in New Issue
Block a user