mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-10 13:34:51 +00:00
Typo
This commit is contained in:
parent
7d20055eba
commit
07e09e15dd
1 changed files with 2 additions and 2 deletions
|
|
@ -370,14 +370,14 @@ async def getSame(msg, query, current_page, strings):
|
|||
@use_chat_lang()
|
||||
async def same_search(client, msg, strings):
|
||||
query = msg.text.split(" ", 1)[1] if len(msg.command) > 1 else None
|
||||
bmsg = await sendMsgPyro(msg, strings("get_data"), True)
|
||||
bmsg = await msg.reply_msg(strings("get_data"), True)
|
||||
sameres, PageLen = await getSame(bmsg, query, 1)
|
||||
if not sameres:
|
||||
return
|
||||
keyboard = InlineKeyboard()
|
||||
keyboard.paginate(PageLen, 1, "samepg#{number}" + f"#{bmsg.id}#{msg.from_user.id}")
|
||||
keyboard.row(InlineButton(strings("cl_btn"), f"close#{msg.from_user.id}"))
|
||||
await editMsgPyro(bmsg, sameres, reply_markup=keyboard)
|
||||
await bmsg.edit_msg(sameres, reply_markup=keyboard)
|
||||
|
||||
|
||||
# Terbit21 CMD
|
||||
|
|
|
|||
Loading…
Reference in a new issue