something

This commit is contained in:
levina 2021-12-11 16:30:51 +07:00 committed by GitHub
parent 60990ae567
commit bbe8bc8bc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -158,7 +158,7 @@ async def play(c: Client, m: Message):
"» reply to an **audio file** or **give something to search.**" "» reply to an **audio file** or **give something to search.**"
) )
else: else:
suhu = await c.send_message(chat_id, "🔎 **Searching...**") suhu = await c.send_message(chat_id, "🔍 **Searching...**")
query = m.text.split(None, 1)[1] query = m.text.split(None, 1)[1]
search = ytsearch(query) search = ytsearch(query)
if search == 0: if search == 0:
@ -212,7 +212,7 @@ async def play(c: Client, m: Message):
"» reply to an **audio file** or **give something to search.**" "» reply to an **audio file** or **give something to search.**"
) )
else: else:
suhu = await c.send_message(chat_id, "🔎 **Searching...**") suhu = await c.send_message(chat_id, "🔍 **Searching...**")
query = m.text.split(None, 1)[1] query = m.text.split(None, 1)[1]
search = ytsearch(query) search = ytsearch(query)
if search == 0: if search == 0: