mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
Fix
This commit is contained in:
parent
2aabcda87b
commit
6b44f0228a
1 changed files with 2 additions and 2 deletions
|
|
@ -14,7 +14,7 @@ from pyrogram import filters
|
|||
from misskaty import app, BOT_USERNAME
|
||||
from misskaty.vars import COMMAND_HANDLER
|
||||
from misskaty.core.decorator.errors import capture_err
|
||||
from misskaty.helper.tools import GENRES_EMOJI
|
||||
from misskaty.helper.tools import GENRES_EMOJI, get_random_string
|
||||
from misskaty.helper.http import http
|
||||
|
||||
LOGGER = logging.getLogger(__name__)
|
||||
|
|
@ -32,7 +32,7 @@ async def imdb_choose(_, m):
|
|||
if m.sender_chat:
|
||||
return await m.reply("This feature not supported for channel..")
|
||||
buttons = InlineKeyboard(row_width=2)
|
||||
ranval = ranword(4)
|
||||
ranval = get_random_string()(4)
|
||||
LIST_CARI[ranval] = m.text.split(None, 1)[1]
|
||||
buttons.add(
|
||||
InlineButton("🇺🇸 English", f"imdbcari_en#{ranval}#{m.from_user.id}"),
|
||||
|
|
|
|||
Loading…
Reference in a new issue